Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.001646/0.001646, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001869/0.001869, allocations: 192.1 kB / 22.11 MB, free: 4.223 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.705/1.705, allocations: 225.6 MB / 250.8 MB, free: 2.691 MB / 190.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.104/3.104, allocations: 495.8 MB / 0.7831 GB, free: 12.2 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.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower")
translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|SHR.y|EIR.y|pwr.P|pwr.QSen_flow|Q_flow.y",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 67.89 kB / 1.137 GB, free: 12.12 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.284/1.286, allocations: 173.6 MB / 1.307 GB, free: 33.76 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003092/1.289, allocations: 1.778 MB / 1.309 GB, free: 32.53 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0001737/1.29, allocations: 78.3 kB / 1.309 GB, free: 32.47 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/1.29, allocations: 3.062 kB / 1.309 GB, free: 32.47 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 4.764e-05/1.29, allocations: 11.81 kB / 1.309 GB, free: 32.46 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 6.879e-05/1.29, allocations: 17.78 kB / 1.309 GB, free: 32.45 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 9.951e-05/1.29, allocations: 33.11 kB / 1.309 GB, free: 32.43 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0001344/1.29, allocations: 109.2 kB / 1.309 GB, free: 32.37 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000164/1.29, allocations: 42.97 kB / 1.309 GB, free: 32.35 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.217e-05/1.29, allocations: 47.81 kB / 1.309 GB, free: 32.33 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.967e-05/1.29, allocations: 48.45 kB / 1.309 GB, free: 32.3 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 3.275e-05/1.29, allocations: 14.5 kB / 1.309 GB, free: 32.3 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/1.29, allocations: 11.25 kB / 1.309 GB, free: 32.3 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 2.683e-05/1.29, allocations: 22.28 kB / 1.309 GB, free: 32.28 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 4.904e-05/1.29, allocations: 47.09 kB / 1.309 GB, free: 32.25 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001438/1.291, allocations: 114.6 kB / 1.309 GB, free: 32.2 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.291, allocations: 0 / 1.309 GB, free: 32.2 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.664e-06/1.291, allocations: 0 / 1.309 GB, free: 32.2 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 5.631e-06/1.291, allocations: 0 / 1.309 GB, free: 32.2 MB / 1.061 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 20
 * Number of variables: 20
Notification: Performance of Generate backend data structure: time 0.0006806/1.291, allocations: 357.8 kB / 1.309 GB, free: 31.89 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/1.291, allocations: 12.12 kB / 1.309 GB, free: 31.89 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/1.291, allocations: 17.53 kB / 1.309 GB, free: 31.88 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/1.292, allocations: 143.1 kB / 1.31 GB, free: 31.74 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/1.292, allocations: 9.812 kB / 1.31 GB, free: 31.73 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/1.292, allocations: 5.625 kB / 1.31 GB, free: 31.73 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003971/1.292, allocations: 123.5 kB / 1.31 GB, free: 31.68 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/1.292, allocations: 4.125 kB / 1.31 GB, free: 31.67 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/1.292, allocations: 14.19 kB / 1.31 GB, free: 31.66 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.268e-05/1.292, allocations: 2.844 kB / 1.31 GB, free: 31.66 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004592/1.293, allocations: 118.2 kB / 1.31 GB, free: 31.64 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/1.293, allocations: 355.8 kB / 1.31 GB, free: 31.34 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/1.293, allocations: 83.61 kB / 1.31 GB, free: 31.3 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002197/1.294, allocations: 58.69 kB / 1.31 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/1.294, allocations: 0 / 1.31 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/1.294, allocations: 45.41 kB / 1.31 GB, free: 31.23 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=6): time 2.434e-06/1.294, allocations: 3.984 kB / 1.31 GB, free: 31.23 MB / 1.061 GB
Notification: Performance of matching and sorting (n=6): time 0.0007696/1.294, allocations: 195 kB / 1.311 GB, free: 31.17 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.053e-05/1.294, allocations: 55.41 kB / 1.311 GB, free: 31.1 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/1.295, allocations: 122 kB / 1.311 GB, free: 31 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.289e-05/1.295, allocations: 25.7 kB / 1.311 GB, free: 30.96 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/1.295, allocations: 105.2 kB / 1.311 GB, free: 30.87 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/1.295, allocations: 25.69 kB / 1.311 GB, free: 30.85 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/1.295, allocations: 12.81 kB / 1.311 GB, free: 30.83 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 6.632e-05/1.295, allocations: 321.2 kB / 1.311 GB, free: 30.52 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/1.295, allocations: 54.31 kB / 1.311 GB, free: 30.5 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/1.295, allocations: 55.11 kB / 1.311 GB, free: 30.49 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/1.296, allocations: 110.6 kB / 1.311 GB, free: 30.46 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.296, allocations: 0 / 1.311 GB, free: 30.46 MB / 1.061 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004475/1.296, allocations: 140.4 kB / 1.312 GB, free: 30.41 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.296, allocations: 9.156 kB / 1.312 GB, free: 30.41 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.296, allocations: 2.969 kB / 1.312 GB, free: 30.41 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.296, allocations: 3.938 kB / 1.312 GB, free: 30.4 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/1.296, allocations: 31.59 kB / 1.312 GB, free: 30.4 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/1.296, allocations: 0 / 1.312 GB, free: 30.4 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/1.296, allocations: 15.19 kB / 1.312 GB, free: 30.4 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/1.296, allocations: 2.938 kB / 1.312 GB, free: 30.4 MB / 1.061 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 (6):
 * Single equations (assignments): 6
 * 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 7.348e-05/1.296, allocations: 128.4 kB / 1.312 GB, free: 30.27 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/1.296, allocations: 9.547 kB / 1.312 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/1.296, allocations: 8.375 kB / 1.312 GB, free: 30.25 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.296, allocations: 9.906 kB / 1.312 GB, free: 30.25 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.296, allocations: 0 / 1.312 GB, free: 30.25 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/1.296, allocations: 3.938 kB / 1.312 GB, free: 30.25 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/1.297, allocations: 175.1 kB / 1.312 GB, free: 30.07 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.297, allocations: 0 / 1.312 GB, free: 30.07 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001586/1.297, allocations: 29.75 kB / 1.312 GB, free: 30.07 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/1.297, allocations: 6.844 kB / 1.312 GB, free: 30.06 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/1.297, allocations: 0 / 1.312 GB, free: 30.06 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.297, allocations: 3.938 kB / 1.312 GB, free: 30.06 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.297, allocations: 0 / 1.312 GB, free: 30.06 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004763/1.297, allocations: 248.8 kB / 1.312 GB, free: 29.89 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.017e-05/1.297, allocations: 6.969 kB / 1.312 GB, free: 29.89 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/1.297, allocations: 0 / 1.312 GB, free: 29.89 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/1.297, allocations: 21.92 kB / 1.312 GB, free: 29.89 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/1.298, allocations: 10.23 kB / 1.312 GB, free: 29.88 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/1.298, allocations: 0 / 1.312 GB, free: 29.88 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 4.271e-05/1.298, allocations: 97.75 kB / 1.312 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of sort global known variables: time 5e-08/1.298, allocations: 0 / 1.312 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002318/1.298, allocations: 30.92 kB / 1.312 GB, free: 29.79 MB / 1.061 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 (6):
 * Single equations (assignments): 6
 * 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 Backend phase and start with SimCode phase: time 0.0001002/1.298, allocations: 93.5 kB / 1.312 GB, free: 29.7 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0004985/1.298, allocations: 108 kB / 1.313 GB, free: 29.69 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.298, allocations: 4 kB / 1.313 GB, free: 29.68 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 0.000219/1.299, allocations: 63.34 kB / 1.313 GB, free: 29.67 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/1.299, allocations: 7.125 kB / 1.313 GB, free: 29.67 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/1.299, allocations: 195.5 kB / 1.313 GB, free: 29.51 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/1.3, allocations: 0.7024 MB / 1.313 GB, free: 28.81 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 4.206e-05/1.3, allocations: 2.844 kB / 1.313 GB, free: 28.81 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/1.3, allocations: 10.44 kB / 1.314 GB, free: 28.8 MB / 1.061 GB
Notification: Performance of SimCode: time 3.3e-07/1.3, allocations: 0 / 1.314 GB, free: 28.8 MB / 1.061 GB
Notification: Performance of Templates: time 0.003974/1.304, allocations: 1.129 MB / 1.315 GB, free: 28.68 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.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.693131409585476]