Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1342,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_10_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_10_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.007856/0.007856, allocations: 99.98 kB / 15.73 MB, free: 6.02 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.001356/0.001356, allocations: 189.5 kB / 16.67 MB, free: 5.938 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.404/1.404, 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 10.1.1-maint.10.0.x/package.mo): time 2.572/2.572, allocations: 437 MB / 0.7105 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.00219, allocations: 68.03 kB / 1.019 GB, free: 9.375 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9599/0.9621, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003155/0.9653, allocations: 1.638 MB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.9676, allocations: 1.491 MB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.864e-05/0.9677, allocations: 0 / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0004613/0.9682, allocations: 51.75 kB / 1.17 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.9684, allocations: 55.7 kB / 1.17 GB, free: 0.5742 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.9686, allocations: 105.2 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002382/0.9689, allocations: 171.6 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.9689, allocations: 8.234 kB / 1.17 GB, free: 304 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001086/0.9691, allocations: 63.75 kB / 1.17 GB, free: 240 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001635/0.9692, allocations: 71.69 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.9693, allocations: 12 kB / 1.17 GB, free: 156 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.9694, allocations: 63.97 kB / 1.17 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.206e-05/0.9695, allocations: 47.83 kB / 1.17 GB, free: 44 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.916e-05/0.9696, allocations: 59.73 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003026/0.9699, allocations: 199.6 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.9699, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9699, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.9699, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 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.0006869/0.9706, allocations: 474.3 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.9707, allocations: 12.03 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.9707, allocations: 16.8 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004173/0.9712, allocations: 265.6 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.9712, allocations: 8.375 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.19e-05/0.9712, allocations: 12.11 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.9714, allocations: 115.3 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.9715, allocations: 0 / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.9715, allocations: 3.984 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.9715, allocations: 3.938 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002321/0.9717, allocations: 143.9 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002477/0.972, allocations: 233.5 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/0.9724, allocations: 170.5 kB / 1.172 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.682e-05/0.9725, allocations: 56.77 kB / 1.172 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.9725, allocations: 11.92 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.9727, allocations: 112.8 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=13): time 1.452e-06/0.9728, allocations: 4 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13): time 0.0004977/0.9733, allocations: 221.5 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.9733, allocations: 85.09 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.9735, allocations: 198.6 kB / 1.173 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.9736, allocations: 33.7 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.417e-05/0.9736, allocations: 108.1 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.9737, allocations: 47.64 kB / 1.173 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/0.9738, allocations: 33.72 kB / 1.173 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9739, allocations: 330.8 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.974, allocations: 47.98 kB / 1.173 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.9741, allocations: 73.36 kB / 1.173 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.9744, allocations: 127.3 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.9744, allocations: 4 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00031/0.9747, allocations: 198.8 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.9747, allocations: 4 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9747, allocations: 0 / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.9748, allocations: 7.938 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.9749, allocations: 23.98 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.9749, allocations: 0 / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.35e-05/0.975, allocations: 11.92 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.975, allocations: 8 kB / 1.174 GB, free: 12.41 MB / 0.9044 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.9751, allocations: 144 kB / 1.174 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.9752, allocations: 23.8 kB / 1.174 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.374e-05/0.9752, allocations: 25.52 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.9753, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.9753, allocations: 4 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.9753, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.9755, allocations: 233.5 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9755, allocations: 0 / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.634e-05/0.9756, allocations: 27.98 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.9756, allocations: 0 / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.9756, allocations: 4 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.9756, allocations: 4 kB / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.9756, allocations: 0 / 1.174 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003357/0.9759, allocations: 214.1 kB / 1.174 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.64e-05/0.976, allocations: 101 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.976, allocations: 3.984 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.652e-05/0.9761, allocations: 8 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.9761, allocations: 7.984 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/0.9762, allocations: 11.98 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001284/0.9763, allocations: 160.2 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9763, allocations: 0 / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002517/0.9766, allocations: 35.94 kB / 1.175 GB, free: 11.32 MB / 0.9044 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.001085/0.9777, allocations: 452.5 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.9779, allocations: 127.9 kB / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.978, allocations: 0 / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001146/0.9781, allocations: 63.91 kB / 1.175 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.9784, allocations: 41.11 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.979, allocations: 294.7 kB / 1.176 GB, free: 10.5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.9793, allocations: 0.7164 MB / 1.176 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001031/0.9794, allocations: 49.48 kB / 1.176 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.569e-05/0.9794, allocations: 35.42 kB / 1.176 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of SimCode: time 2.5e-07/0.9794, allocations: 0 / 1.176 GB, free: 9.68 MB / 0.9044 GB Notification: Performance of Templates: time 0.005853/0.9853, allocations: 2.525 MB / 1.179 GB, free: 7.195 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches