Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002124/0.002124, allocations: 106 kB / 18.84 MB, free: 3.043 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.001805/0.001805, allocations: 190.3 kB / 22.1 MB, free: 5.152 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.558/1.558, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.275/3.275, allocations: 495.8 MB / 0.783 GB, free: 33.49 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-maint.12.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=671,variableFilter="time|combiTimeTable.y.1.",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 72.56 kB / 1.137 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5268/0.5288, allocations: 173.6 MB / 1.307 GB, free: 1.875 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.004378/0.5332, allocations: 1.662 MB / 1.308 GB, free: 208 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.003246/0.5365, allocations: 1.594 MB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.5366, allocations: 3.938 kB / 1.31 GB, free: 14.6 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005953/0.5372, allocations: 55.69 kB / 1.31 GB, free: 14.54 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003182/0.5375, allocations: 63.75 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.5379, allocations: 106.7 kB / 1.31 GB, free: 14.38 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003545/0.5383, allocations: 171.6 kB / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.969e-05/0.5384, allocations: 4.234 kB / 1.31 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.5386, allocations: 71.75 kB / 1.31 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.5388, allocations: 71.75 kB / 1.31 GB, free: 14.07 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.5389, allocations: 11.94 kB / 1.31 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002216/0.5391, allocations: 71.95 kB / 1.311 GB, free: 13.98 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 9.52e-05/0.5392, allocations: 43.89 kB / 1.311 GB, free: 13.94 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.5393, allocations: 55.61 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004639/0.5397, allocations: 203.1 kB / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.5398, allocations: 0 / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.185e-06/0.5398, allocations: 0 / 1.311 GB, free: 13.69 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.055e-06/0.5398, allocations: 0 / 1.311 GB, free: 13.69 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.0009047/0.5407, allocations: 409.1 kB / 1.311 GB, free: 13.26 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.5407, allocations: 12.92 kB / 1.311 GB, free: 13.25 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.86e-05/0.5408, allocations: 16.84 kB / 1.311 GB, free: 13.23 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005624/0.5414, allocations: 201.9 kB / 1.311 GB, free: 13.01 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.5414, allocations: 4.375 kB / 1.311 GB, free: 13 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.5414, allocations: 8.125 kB / 1.311 GB, free: 13 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.5417, allocations: 111.3 kB / 1.312 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5417, allocations: 0 / 1.312 GB, free: 12.88 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.5418, allocations: 8 kB / 1.312 GB, free: 12.87 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.5418, allocations: 4 kB / 1.312 GB, free: 12.86 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.5421, allocations: 139.9 kB / 1.312 GB, free: 12.73 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003344/0.5424, allocations: 204.5 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004429/0.5428, allocations: 162.4 kB / 1.312 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.5429, allocations: 52.78 kB / 1.312 GB, free: 12.26 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.956e-05/0.543, allocations: 16.03 kB / 1.312 GB, free: 12.25 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.5432, allocations: 103.4 kB / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.5432, allocations: 0 / 1.312 GB, free: 12.13 MB / 1.014 GB
Notification: Performance of matching and sorting (n=13): time 0.0005947/0.5438, allocations: 229.5 kB / 1.312 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/0.5439, allocations: 81.11 kB / 1.313 GB, free: 11.8 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.5442, allocations: 201.6 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.5442, allocations: 29.7 kB / 1.313 GB, free: 11.56 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.5443, allocations: 116.1 kB / 1.313 GB, free: 11.44 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 7.28e-05/0.5444, allocations: 47.64 kB / 1.313 GB, free: 11.39 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.5445, allocations: 33.7 kB / 1.313 GB, free: 11.36 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001866/0.5447, allocations: 326.8 kB / 1.313 GB, free: 11.03 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.5448, allocations: 47.97 kB / 1.313 GB, free: 10.98 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.5449, allocations: 74.55 kB / 1.313 GB, free: 10.9 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002506/0.5452, allocations: 132.9 kB / 1.313 GB, free: 10.77 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.5452, allocations: 0 / 1.313 GB, free: 10.77 MB / 1.014 GB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003995/0.5456, allocations: 189.5 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.5456, allocations: 8 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.5456, allocations: 0 / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.5456, allocations: 3.938 kB / 1.314 GB, free: 10.56 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.5458, allocations: 31.98 kB / 1.314 GB, free: 10.53 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.5458, allocations: 0 / 1.314 GB, free: 10.53 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.871e-05/0.5458, allocations: 15.92 kB / 1.314 GB, free: 10.52 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.5459, allocations: 4 kB / 1.314 GB, free: 10.51 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.0001691/0.546, allocations: 147.6 kB / 1.314 GB, free: 10.36 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.44e-05/0.5461, allocations: 19.84 kB / 1.314 GB, free: 10.34 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005199/0.5466, allocations: 227 kB / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.5466, allocations: 4 kB / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5466, allocations: 0 / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5466, allocations: 0 / 1.314 GB, free: 10.11 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.5469, allocations: 208.5 kB / 1.314 GB, free: 9.859 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.5469, allocations: 0 / 1.314 GB, free: 9.859 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-05/0.547, allocations: 23.98 kB / 1.314 GB, free: 9.836 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.547, allocations: 0 / 1.314 GB, free: 9.836 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.547, allocations: 4 kB / 1.314 GB, free: 9.832 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.306e-06/0.547, allocations: 7.922 kB / 1.314 GB, free: 9.824 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.547, allocations: 0 / 1.314 GB, free: 9.824 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.5474, allocations: 216.9 kB / 1.315 GB, free: 9.594 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.5474, allocations: 19.89 kB / 1.315 GB, free: 9.574 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/0.5475, allocations: 11.98 kB / 1.315 GB, free: 9.562 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.669e-05/0.5475, allocations: 0 / 1.315 GB, free: 9.562 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.5476, allocations: 7.984 kB / 1.315 GB, free: 9.555 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.749e-05/0.5476, allocations: 12 kB / 1.315 GB, free: 9.543 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001724/0.5478, allocations: 151.3 kB / 1.315 GB, free: 9.395 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1e-07/0.5478, allocations: 0 / 1.315 GB, free: 9.395 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002919/0.5481, allocations: 39.89 kB / 1.315 GB, free: 9.355 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.001846/0.5499, allocations: 467.4 kB / 1.315 GB, free: 9.07 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003404/0.5503, allocations: 112 kB / 1.315 GB, free: 8.961 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5503, allocations: 0 / 1.315 GB, free: 8.961 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.5504, allocations: 55.91 kB / 1.315 GB, free: 8.906 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.5507, allocations: 44.02 kB / 1.315 GB, free: 8.867 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.5515, allocations: 294.7 kB / 1.316 GB, free: 8.555 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.5519, allocations: 0.7203 MB / 1.316 GB, free: 7.809 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001491/0.5521, allocations: 45.45 kB / 1.316 GB, free: 7.766 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.5522, allocations: 39.36 kB / 1.316 GB, free: 7.727 MB / 1.014 GB
Notification: Performance of SimCode: time 5.01e-07/0.5522, allocations: 0 / 1.316 GB, free: 7.727 MB / 1.014 GB
Notification: Performance of Templates: time 0.007903/0.5601, allocations: 2.603 MB / 1.319 GB, free: 5.164 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.89701235294342]