Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002286/0.002286, allocations: 191.3 kB / 22.23 MB, free: 5.156 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.403/3.403, allocations: 0.4893 GB / 0.7884 GB, free: 33.25 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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=671,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData")
translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=671,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.42 kB / 1.145 GB, free: 30.65 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4722/0.4743, allocations: 174.9 MB / 1.316 GB, free: 9.688 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003776/0.478, allocations: 1.668 MB / 1.318 GB, free: 8.012 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002771/0.4808, allocations: 1.594 MB / 1.319 GB, free: 6.41 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.963e-05/0.4809, allocations: 7.938 kB / 1.319 GB, free: 6.402 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.4814, allocations: 51.75 kB / 1.319 GB, free: 6.352 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.4816, allocations: 55.75 kB / 1.319 GB, free: 6.297 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.4819, allocations: 115 kB / 1.319 GB, free: 6.188 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0002822/0.4822, allocations: 163.6 kB / 1.32 GB, free: 6.027 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.11e-05/0.4822, allocations: 8.219 kB / 1.32 GB, free: 6.02 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001388/0.4824, allocations: 75.7 kB / 1.32 GB, free: 5.945 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.4826, allocations: 67.75 kB / 1.32 GB, free: 5.879 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.4826, allocations: 12 kB / 1.32 GB, free: 5.867 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001532/0.4828, allocations: 67.95 kB / 1.32 GB, free: 5.801 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.692e-05/0.4829, allocations: 39.91 kB / 1.32 GB, free: 5.762 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 9.26e-05/0.483, allocations: 63.53 kB / 1.32 GB, free: 5.699 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.000342/0.4833, allocations: 199.2 kB / 1.32 GB, free: 5.504 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4833, allocations: 0 / 1.32 GB, free: 5.504 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.404e-06/0.4833, allocations: 0 / 1.32 GB, free: 5.504 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.995e-06/0.4833, allocations: 0 / 1.32 GB, free: 5.504 MB / 1.014 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.000715/0.484, allocations: 397.2 kB / 1.32 GB, free: 5.086 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.4841, allocations: 8.031 kB / 1.32 GB, free: 5.078 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.975e-05/0.4841, allocations: 16.84 kB / 1.321 GB, free: 5.062 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.4846, allocations: 213.8 kB / 1.321 GB, free: 4.828 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.4846, allocations: 4.375 kB / 1.321 GB, free: 4.824 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/0.4846, allocations: 8.125 kB / 1.321 GB, free: 4.816 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.4849, allocations: 123.3 kB / 1.321 GB, free: 4.684 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4849, allocations: 0 / 1.321 GB, free: 4.684 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.4849, allocations: 0 / 1.321 GB, free: 4.684 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-06/0.4849, allocations: 0 / 1.321 GB, free: 4.684 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002675/0.4852, allocations: 139.9 kB / 1.321 GB, free: 4.547 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.4855, allocations: 212.5 kB / 1.321 GB, free: 4.297 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003907/0.4859, allocations: 158.6 kB / 1.321 GB, free: 4.133 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.486, allocations: 52.83 kB / 1.321 GB, free: 4.078 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.486, allocations: 15.97 kB / 1.321 GB, free: 4.062 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002901/0.4863, allocations: 107.4 kB / 1.321 GB, free: 3.945 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.4863, allocations: 0 / 1.321 GB, free: 3.945 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13): time 0.0005367/0.4869, allocations: 221.5 kB / 1.322 GB, free: 3.723 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.061e-05/0.4869, allocations: 81.11 kB / 1.322 GB, free: 3.625 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002404/0.4872, allocations: 208.1 kB / 1.322 GB, free: 3.406 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.4872, allocations: 29.7 kB / 1.322 GB, free: 3.371 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 9.301e-05/0.4873, allocations: 108.1 kB / 1.322 GB, free: 3.262 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.4874, allocations: 47.64 kB / 1.322 GB, free: 3.215 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-05/0.4874, allocations: 33.7 kB / 1.322 GB, free: 3.176 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001652/0.4876, allocations: 334.8 kB / 1.323 GB, free: 2.84 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.4877, allocations: 43.98 kB / 1.323 GB, free: 2.797 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.4878, allocations: 74.55 kB / 1.323 GB, free: 2.715 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002352/0.4881, allocations: 125 kB / 1.323 GB, free: 2.59 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4881, allocations: 0 / 1.323 GB, free: 2.59 MB / 1.014 GB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003569/0.4884, allocations: 201.4 kB / 1.323 GB, free: 2.387 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.4884, allocations: 4 kB / 1.323 GB, free: 2.383 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4884, allocations: 0 / 1.323 GB, free: 2.383 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/0.4885, allocations: 4 kB / 1.323 GB, free: 2.379 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4886, allocations: 27.97 kB / 1.323 GB, free: 2.352 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4886, allocations: 4.062 kB / 1.323 GB, free: 2.348 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.4887, allocations: 15.89 kB / 1.323 GB, free: 2.332 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.4887, allocations: 4 kB / 1.323 GB, free: 2.328 MB / 1.014 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.0001514/0.4888, allocations: 147.4 kB / 1.323 GB, free: 2.176 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.308e-05/0.4889, allocations: 15.91 kB / 1.323 GB, free: 2.16 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.4893, allocations: 215.1 kB / 1.323 GB, free: 1.938 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.4893, allocations: 4 kB / 1.323 GB, free: 1.934 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.4893, allocations: 0 / 1.323 GB, free: 1.934 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4893, allocations: 4 kB / 1.323 GB, free: 1.93 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.4896, allocations: 220.4 kB / 1.324 GB, free: 1.672 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4896, allocations: 3.938 kB / 1.324 GB, free: 1.668 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.938e-05/0.4897, allocations: 23.92 kB / 1.324 GB, free: 1.645 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4897, allocations: 4 kB / 1.324 GB, free: 1.641 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.4897, allocations: 0 / 1.324 GB, free: 1.641 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4897, allocations: 0 / 1.324 GB, free: 1.641 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.8e-06/0.4897, allocations: 7.984 kB / 1.324 GB, free: 1.633 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.4901, allocations: 212.9 kB / 1.324 GB, free: 1.406 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.4901, allocations: 15.89 kB / 1.324 GB, free: 1.391 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.4901, allocations: 0 / 1.324 GB, free: 1.391 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.007e-05/0.4902, allocations: 8 kB / 1.324 GB, free: 1.383 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.4902, allocations: 7.984 kB / 1.324 GB, free: 1.375 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.4902, allocations: 7.984 kB / 1.324 GB, free: 1.367 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001492/0.4904, allocations: 148.5 kB / 1.324 GB, free: 1.223 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6.1e-08/0.4904, allocations: 0 / 1.324 GB, free: 1.223 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002588/0.4906, allocations: 43.92 kB / 1.324 GB, free: 1.18 MB / 1.014 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.nextTimeEvent,combiTimeTable.nextTimeEventScaled)
 * 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.001755/0.4924, allocations: 469.4 kB / 1.324 GB, free: 0.8906 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002973/0.4927, allocations: 111.9 kB / 1.325 GB, free: 0.7812 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.4927, allocations: 0 / 1.325 GB, free: 0.7812 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.4928, allocations: 60.03 kB / 1.325 GB, free: 0.7227 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.4931, allocations: 32.58 kB / 1.325 GB, free: 0.6914 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006412/0.4938, allocations: 290.7 kB / 1.325 GB, free: 392 kB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.4942, allocations: 0.728 MB / 1.326 GB, free: 15.63 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 0.0001126/0.4943, allocations: 45.45 kB / 1.326 GB, free: 15.59 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.616e-05/0.4944, allocations: 35.42 kB / 1.326 GB, free: 15.55 MB / 1.029 GB
Notification: Performance of SimCode: time 3.01e-07/0.4944, allocations: 0 / 1.326 GB, free: 15.55 MB / 1.029 GB
Notification: Performance of Templates: time 0.006723/0.5011, allocations: 2.605 MB / 1.328 GB, free: 13 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 10.002572825178504]