Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009838/0.009837, allocations: 101.5 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001876/0.001877, allocations: 194.6 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.887/2.887, allocations: 437.1 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001567, allocations: 63.84 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3567/0.3583, allocations: 151.6 MB / 1.166 GB, free: 7.289 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002564/0.3609, allocations: 1.24 MB / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.362, allocations: 0.5957 MB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.362, allocations: 0 / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.154e-05/0.3621, allocations: 0 / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.616e-05/0.3621, allocations: 3.984 kB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006804/0.3628, allocations: 135.4 kB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.226e-05/0.3629, allocations: 15.86 kB / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.363, allocations: 0 / 1.168 GB, free: 5.285 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/0.363, allocations: 4 kB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.975e-05/0.3631, allocations: 11.98 kB / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.3631, allocations: 0 / 1.168 GB, free: 5.27 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005879/0.3637, allocations: 339.3 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.379e-05/0.3637, allocations: 0 / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.05e-05/0.3637, allocations: 11.92 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.3641, allocations: 147.1 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3641, allocations: 0 / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3641, allocations: 3.938 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3641, allocations: 0 / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004999/0.3646, allocations: 351.7 kB / 1.169 GB, free: 4.387 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.3647, allocations: 8.031 kB / 1.169 GB, free: 4.379 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.3647, allocations: 34.75 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.3647, allocations: 4.938 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.3649, allocations: 164.3 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.3649, allocations: 4.375 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.3649, allocations: 384 / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/0.365, allocations: 34.25 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.365, allocations: 3.938 kB / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3651, allocations: 0 / 1.169 GB, free: 4.086 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3651, allocations: 7.922 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.046e-05/0.3651, allocations: 8 kB / 1.169 GB, free: 4.07 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001746/0.3653, allocations: 149.7 kB / 1.169 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.468e-05/0.3653, allocations: 26.61 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.154e-05/0.3654, allocations: 8.922 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3654, allocations: 0 / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.3654, allocations: 34.5 kB / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3654, allocations: 0 / 1.169 GB, free: 3.785 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000175/0.3656, allocations: 53.56 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.3657, allocations: 51.53 kB / 1.17 GB, free: 3.664 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.759e-05/0.3657, allocations: 97.86 kB / 1.17 GB, free: 3.559 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.3658, allocations: 25.7 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.859e-05/0.3658, allocations: 84.14 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.3658, allocations: 3.906 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.3659, allocations: 17.7 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.366, allocations: 310.8 kB / 1.17 GB, free: 3.102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.366, allocations: 4 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.245e-05/0.3661, allocations: 8.125 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/0.3661, allocations: 16.73 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3661, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.055e-05/0.3662, allocations: 41.69 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.3662, allocations: 14.12 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3662, allocations: 0 / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.3662, allocations: 0 / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.3664, allocations: 8 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003955/0.3668, allocations: 0.59 MB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.192e-05/0.3669, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3669, allocations: 0 / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.791e-05/0.367, allocations: 115 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.136e-05/0.367, allocations: 4 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.3671, allocations: 52.89 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3671, allocations: 0 / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3672, allocations: 0 / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3672, allocations: 0 / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001165/0.3673, allocations: 157.5 kB / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3673, allocations: 0 / 1.171 GB, free: 2.004 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.301e-05/0.3674, allocations: 8 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.3674, allocations: 0 / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3674, allocations: 0 / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003164/0.3677, allocations: 0.5938 MB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.3677, allocations: 11.92 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.985e-05/0.3678, allocations: 57.14 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.3679, allocations: 77.11 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.3679, allocations: 4 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.864e-05/0.3679, allocations: 3.984 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.3679, allocations: 12.06 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.368, allocations: 0 / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of sorting global known variables: time 3.756e-05/0.368, allocations: 79.22 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.368, allocations: 3.938 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002196/0.3682, allocations: 11.94 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004437/0.3687, allocations: 0.6126 MB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.3689, allocations: 19.98 kB / 1.172 GB, free: 432 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3689, allocations: 3.938 kB / 1.172 GB, free: 428 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.369, allocations: 15.94 kB / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001508/0.3691, allocations: 3.938 kB / 1.172 GB, free: 408 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005237/0.3697, allocations: 139.8 kB / 1.173 GB, free: 228 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.37, allocations: 0.6768 MB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.969e-05/0.37, allocations: 0 / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.37, allocations: 7.438 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of SimCode: time 5.62e-07/0.37, allocations: 0 / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01958/0.3896, allocations: 1.395 MB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.01, allocations: 11.69 kB / 1.175 GB, free: 14.33 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches