Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.00209/0.00209, allocations: 105.8 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.00265/0.00265, allocations: 188.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.612/1.612, allocations: 225.6 MB / 250.8 MB, free: 13.08 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.443/3.443, allocations: 495.8 MB / 0.783 GB, free: 33.48 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.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP")
translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 69.59 kB / 1.137 GB, free: 34 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4546/0.4567, allocations: 173.6 MB / 1.307 GB, free: 1.973 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1673/0.624, allocations: 133.3 MB / 1.437 GB, free: 12.21 MB / 1.139 GB
Notification: Performance of NFInst.instExpressions: time 0.04587/0.6699, allocations: 23.17 MB / 1.46 GB, free: 4.988 MB / 1.154 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.006935/0.6768, allocations: 166.6 kB / 1.46 GB, free: 4.824 MB / 1.154 GB
Notification: Performance of NFTyping.typeComponents: time 0.006303/0.6831, allocations: 1.549 MB / 1.461 GB, free: 3.266 MB / 1.154 GB
Notification: Performance of NFTyping.typeBindings: time 0.01686/0.7, allocations: 4.37 MB / 1.465 GB, free: 14.88 MB / 1.17 GB
Notification: Performance of NFTyping.typeClassSections: time 0.007723/0.7077, allocations: 2.26 MB / 1.468 GB, free: 12.64 MB / 1.17 GB
Notification: Performance of NFFlatten.flatten: time 0.01377/0.7215, allocations: 6.572 MB / 1.474 GB, free: 6.043 MB / 1.17 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.005649/0.7271, allocations: 1.836 MB / 1.476 GB, free: 4.148 MB / 1.17 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0109/0.738, allocations: 3.094 MB / 1.479 GB, free: 1.051 MB / 1.17 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.005651/0.7437, allocations: 1.933 MB / 1.481 GB, free: 15.11 MB / 1.186 GB
Notification: Performance of NFPackage.collectConstants: time 0.001163/0.7448, allocations: 248 kB / 1.481 GB, free: 14.87 MB / 1.186 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.006439/0.7513, allocations: 1.603 MB / 1.483 GB, free: 13.26 MB / 1.186 GB
Notification: Performance of NFScalarize.scalarize: time 0.001529/0.7528, allocations: 0.6184 MB / 1.483 GB, free: 12.64 MB / 1.186 GB
Notification: Performance of NFVerifyModel.verify: time 0.004325/0.7571, allocations: 1.458 MB / 1.485 GB, free: 11.18 MB / 1.186 GB
Notification: Performance of NFConvertDAE.convert: time 0.01196/0.7691, allocations: 4.313 MB / 1.489 GB, free: 6.848 MB / 1.186 GB
Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.7691, allocations: 0 / 1.489 GB, free: 6.848 MB / 1.186 GB
Notification: Performance of FrontEnd: time 2.024e-06/0.7691, allocations: 0 / 1.489 GB, free: 6.848 MB / 1.186 GB
Notification: Performance of Transformations before backend: time 0.0001765/0.7693, allocations: 4 kB / 1.489 GB, free: 6.844 MB / 1.186 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 388
 * Number of variables: 388
Notification: Performance of Generate backend data structure: time 0.009338/0.7786, allocations: 3.175 MB / 1.492 GB, free: 3.598 MB / 1.186 GB
Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.7787, allocations: 8.031 kB / 1.492 GB, free: 3.59 MB / 1.186 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004825/0.7835, allocations: 0.8531 MB / 1.493 GB, free: 2.734 MB / 1.186 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.006413/0.7899, allocations: 2.261 MB / 1.495 GB, free: 400 kB / 1.186 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.7901, allocations: 127 kB / 1.495 GB, free: 272 kB / 1.186 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000344/0.7904, allocations: 164 kB / 1.495 GB, free: 108 kB / 1.186 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004991/0.7954, allocations: 1.923 MB / 1.497 GB, free: 14.12 MB / 1.201 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.868e-05/0.7955, allocations: 7.938 kB / 1.497 GB, free: 14.11 MB / 1.201 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.7956, allocations: 64 kB / 1.497 GB, free: 14.05 MB / 1.201 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.7957, allocations: 39.94 kB / 1.497 GB, free: 14.01 MB / 1.201 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004896/0.8006, allocations: 1.788 MB / 1.499 GB, free: 12.22 MB / 1.201 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/0.8173, allocations: 8.811 MB / 1.508 GB, free: 2.816 MB / 1.201 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.004334/0.8217, allocations: 1.154 MB / 1.509 GB, free: 1.648 MB / 1.201 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.8229, allocations: 437.4 kB / 1.509 GB, free: 1.215 MB / 1.201 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0006102/0.8235, allocations: 152.5 kB / 1.509 GB, free: 1.066 MB / 1.201 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.939e-05/0.8236, allocations: 42.56 kB / 1.509 GB, free: 1.016 MB / 1.201 GB
Notification: Performance of pre-optimization done (n=76): time 3.397e-06/0.8236, allocations: 0 / 1.509 GB, free: 1.016 MB / 1.201 GB
Notification: Performance of matching and sorting (n=76): time 0.009247/0.8328, allocations: 2.184 MB / 1.511 GB, free: 14.82 MB / 1.217 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.901e-05/0.8329, allocations: 85.11 kB / 1.512 GB, free: 14.71 MB / 1.217 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005797/0.8387, allocations: 2.504 MB / 1.514 GB, free: 12.19 MB / 1.217 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002077/0.8389, allocations: 41.7 kB / 1.514 GB, free: 12.14 MB / 1.217 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.8401, allocations: 1.047 MB / 1.515 GB, free: 11.09 MB / 1.217 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0004271/0.8405, allocations: 289.5 kB / 1.515 GB, free: 10.8 MB / 1.217 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005622/0.8411, allocations: 254.8 kB / 1.516 GB, free: 10.55 MB / 1.217 GB
Notification: Performance of setup shared object (initialization): time 0.0002123/0.8413, allocations: 341.9 kB / 1.516 GB, free: 10.21 MB / 1.217 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00182/0.8431, allocations: 0.5803 MB / 1.516 GB, free: 9.629 MB / 1.217 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.8454, allocations: 0.9582 MB / 1.517 GB, free: 8.516 MB / 1.217 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003219/0.8486, allocations: 1.248 MB / 1.519 GB, free: 7.164 MB / 1.217 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/0.8486, allocations: 7.938 kB / 1.519 GB, free: 7.156 MB / 1.217 GB
Notification: Performance of matching and sorting (n=133) (initialization): time 0.007313/0.8559, allocations: 2.026 MB / 1.521 GB, free: 5.113 MB / 1.217 GB
Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.856, allocations: 12 kB / 1.521 GB, free: 5.102 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.856, allocations: 11.94 kB / 1.521 GB, free: 5.09 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.00186/0.8579, allocations: 413.2 kB / 1.521 GB, free: 4.68 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.8592, allocations: 287.5 kB / 1.521 GB, free: 4.398 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002416/0.8616, allocations: 1.495 MB / 1.523 GB, free: 2.852 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/0.8656, allocations: 370.5 kB / 1.523 GB, free: 2.488 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003764/0.866, allocations: 63.95 kB / 1.523 GB, free: 2.426 MB / 1.217 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 35
 * 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 (112):
 * Single equations (assignments): 110
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(1,13), (1,8)}
Notification: Performance of prepare postOptimizeDAE: time 0.001656/0.8676, allocations: 466 kB / 1.524 GB, free: 1.961 MB / 1.217 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/0.8692, allocations: 262.3 kB / 1.524 GB, free: 1.703 MB / 1.217 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004868/0.8741, allocations: 1.498 MB / 1.525 GB, free: 192 kB / 1.217 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.825e-05/0.8741, allocations: 15.98 kB / 1.525 GB, free: 176 kB / 1.217 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.8741, allocations: 0 / 1.525 GB, free: 176 kB / 1.217 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.8742, allocations: 3.984 kB / 1.525 GB, free: 172 kB / 1.217 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/0.8846, allocations: 3.577 MB / 1.529 GB, free: 12.49 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.8846, allocations: 7.938 kB / 1.529 GB, free: 12.48 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006552/0.8853, allocations: 128.2 kB / 1.529 GB, free: 12.36 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001662/0.887, allocations: 419.4 kB / 1.529 GB, free: 11.94 MB / 1.232 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.111e-05/0.887, allocations: 23.98 kB / 1.529 GB, free: 11.92 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002832/0.8899, allocations: 1.561 MB / 1.531 GB, free: 10.3 MB / 1.232 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/0.8899, allocations: 12 kB / 1.531 GB, free: 10.29 MB / 1.232 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006861/0.8967, allocations: 1.948 MB / 1.533 GB, free: 8.281 MB / 1.232 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002355/0.8991, allocations: 427.8 kB / 1.533 GB, free: 7.859 MB / 1.232 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009011/0.9, allocations: 23.92 kB / 1.533 GB, free: 7.836 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/0.9024, allocations: 131.8 kB / 1.533 GB, free: 7.707 MB / 1.232 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.9025, allocations: 59.83 kB / 1.533 GB, free: 7.648 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.9026, allocations: 47.91 kB / 1.534 GB, free: 7.602 MB / 1.232 GB
Notification: Performance of sorting global known variables: time 0.004779/0.9074, allocations: 1.757 MB / 1.535 GB, free: 5.84 MB / 1.232 GB
Notification: Performance of sort global known variables: time 1.01e-07/0.9074, allocations: 0 / 1.535 GB, free: 5.84 MB / 1.232 GB
Notification: Performance of remove unused functions: time 0.003307/0.9107, allocations: 0.6902 MB / 1.536 GB, free: 5.148 MB / 1.232 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 14
 * 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 (63):
 * Single equations (assignments): 53
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 8
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 2 systems
   {(1,15), (1,9)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.001958/0.9127, allocations: 0.6305 MB / 1.537 GB, free: 4.52 MB / 1.232 GB
Notification: Performance of simCode: created initialization part: time 0.00469/0.9174, allocations: 1.303 MB / 1.538 GB, free: 3.215 MB / 1.232 GB
Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.9174, allocations: 4 kB / 1.538 GB, free: 3.211 MB / 1.232 GB
Notification: Performance of simCode: created simulation system equations: time 0.002457/0.9198, allocations: 0.6454 MB / 1.538 GB, free: 2.566 MB / 1.232 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008263/0.9281, allocations: 1.324 MB / 1.54 GB, free: 1.262 MB / 1.232 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009458/0.9376, allocations: 3.609 MB / 1.543 GB, free: 13.57 MB / 1.248 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/0.9395, allocations: 1.486 MB / 1.545 GB, free: 12.05 MB / 1.248 GB
Notification: Performance of simCode: alias equations: time 0.00251/0.942, allocations: 437 kB / 1.545 GB, free: 11.62 MB / 1.248 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007191/0.9428, allocations: 167.4 kB / 1.545 GB, free: 11.46 MB / 1.248 GB
Notification: Performance of SimCode: time 1.723e-06/0.9428, allocations: 0 / 1.545 GB, free: 11.46 MB / 1.248 GB
Notification: Performance of Templates: time 0.1003/1.043, allocations: 49.64 MB / 1.594 GB, free: 10.48 MB / 1.295 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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: 13.378667789511383]