Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005046/0.005046, allocations: 101.1 kB / 15.73 MB, free: 6.008 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.00118/0.00118, allocations: 192.7 kB / 16.67 MB, free: 5.93 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.697/2.697, allocations: 469.8 MB / 0.7425 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 67.88 kB / 1.065 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8375/0.8387, allocations: 159.1 MB / 1.221 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003153/0.8418, allocations: 1.645 MB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002193/0.844, allocations: 1.5 MB / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.233e-05/0.8441, allocations: 0 / 1.224 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.8446, allocations: 55.7 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.8448, allocations: 55.75 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002726/0.8451, allocations: 103.6 kB / 1.224 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.8453, allocations: 167.6 kB / 1.224 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.8453, allocations: 4.234 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.8454, allocations: 63.78 kB / 1.224 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.8456, allocations: 75.78 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/0.8456, allocations: 8 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.8457, allocations: 63.98 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.928e-05/0.8458, allocations: 47.77 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.8459, allocations: 55.67 kB / 1.224 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.8462, allocations: 195.8 kB / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.8462, allocations: 0 / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8462, allocations: 0 / 1.225 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.8462, allocations: 3.938 kB / 1.225 GB, free: 14.1 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006129/0.8468, allocations: 486.2 kB / 1.225 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.8468, allocations: 12.62 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.747e-05/0.8469, allocations: 16.84 kB / 1.225 GB, free: 13.55 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.8473, allocations: 252.1 kB / 1.225 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.8473, allocations: 4.375 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.8473, allocations: 8.125 kB / 1.225 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000232/0.8475, allocations: 119.2 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.8475, allocations: 4 kB / 1.225 GB, free: 13.12 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.8475, allocations: 7.938 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.8475, allocations: 4 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002291/0.8478, allocations: 139.9 kB / 1.226 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.848, allocations: 233.5 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.8484, allocations: 162.5 kB / 1.226 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.8485, allocations: 60.75 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.8485, allocations: 4 kB / 1.226 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.8487, allocations: 116.8 kB / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.8487, allocations: 0 / 1.226 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13): time 0.0004773/0.8492, allocations: 217.5 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.8493, allocations: 81.11 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.8495, allocations: 204.1 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.8495, allocations: 33.7 kB / 1.227 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.8495, allocations: 108.1 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.8496, allocations: 51.62 kB / 1.227 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/0.8497, allocations: 29.83 kB / 1.227 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8498, allocations: 334.8 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.972e-05/0.8499, allocations: 51.92 kB / 1.227 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.85, allocations: 74.55 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.8502, allocations: 122.7 kB / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8502, allocations: 0 / 1.227 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003144/0.8505, allocations: 196.9 kB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.8505, allocations: 4 kB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.8505, allocations: 0 / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.8506, allocations: 4 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.8507, allocations: 27.98 kB / 1.228 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.8507, allocations: 4.062 kB / 1.228 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.582e-05/0.8507, allocations: 11.89 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.293e-05/0.8507, allocations: 4 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.8509, allocations: 150.2 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.8509, allocations: 11.91 kB / 1.228 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.927e-05/0.851, allocations: 29.52 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.851, allocations: 0 / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.851, allocations: 0 / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.851, allocations: 4 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.8512, allocations: 237.5 kB / 1.228 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8512, allocations: 0 / 1.228 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.8513, allocations: 19.98 kB / 1.228 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.8513, allocations: 0 / 1.228 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.8513, allocations: 12 kB / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.8513, allocations: 0 / 1.228 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.8513, allocations: 3.938 kB / 1.228 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.8516, allocations: 212.9 kB / 1.228 GB, free: 9.977 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.8517, allocations: 96.95 kB / 1.228 GB, free: 9.863 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/0.8517, allocations: 8 kB / 1.228 GB, free: 9.855 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.837e-05/0.8518, allocations: 11.92 kB / 1.228 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.8518, allocations: 11.98 kB / 1.228 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.8518, allocations: 4 kB / 1.228 GB, free: 9.828 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001323/0.852, allocations: 152.4 kB / 1.229 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.852, allocations: 0 / 1.229 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000259/0.8522, allocations: 39.92 kB / 1.229 GB, free: 9.641 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/0.8533, allocations: 453.8 kB / 1.229 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002954/0.8536, allocations: 118.3 kB / 1.229 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.8536, allocations: 0 / 1.229 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.8537, allocations: 55.98 kB / 1.229 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.854, allocations: 40.19 kB / 1.229 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.8546, allocations: 298.6 kB / 1.229 GB, free: 8.844 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.8549, allocations: 0.7202 MB / 1.23 GB, free: 8.098 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001173/0.855, allocations: 53.48 kB / 1.23 GB, free: 8.047 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.899e-05/0.8551, allocations: 35.3 kB / 1.23 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of SimCode: time 3.6e-07/0.8551, allocations: 4 kB / 1.23 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of Templates: time 0.005927/0.861, allocations: 2.539 MB / 1.233 GB, free: 5.516 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches