Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.025/1.025, allocations: 177.1 MB / 204.2 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.987/1.987, allocations: 377.8 MB / 0.6236 GB, free: 8.586 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.505e-06/2.505e-06, allocations: 4.594 kB / 0.8115 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.363e-05, allocations: 4.844 kB / 0.8115 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.02487/0.02491, allocations: 32.84 MB / 0.8436 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.04027, allocations: 9.646 MB / 0.853 GB, free: 6.066 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004029/0.0443, allocations: 170.5 kB / 0.8532 GB, free: 5.898 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.04676, allocations: 0.779 MB / 0.8539 GB, free: 5.113 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.006428/0.05319, allocations: 2.638 MB / 0.8565 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.004385/0.05757, allocations: 2.182 MB / 0.8587 GB, free: 288 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.007936/0.06551, allocations: 6.529 MB / 0.865 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.06852, allocations: 1.919 MB / 0.8669 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005418/0.07394, allocations: 3.041 MB / 0.8699 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002554/0.07649, allocations: 1.645 MB / 0.8715 GB, free: 3.074 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0004276/0.07692, allocations: 244 kB / 0.8717 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.0783, allocations: 0.741 MB / 0.8724 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004886/0.07879, allocations: 0.6457 MB / 0.8731 GB, free: 1.445 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.07992, allocations: 0.978 MB / 0.874 GB, free: 476 kB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003285/0.0832, allocations: 2.425 MB / 0.8764 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.08321, allocations: 0 / 0.8764 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.713e-06/0.08321, allocations: 0 / 0.8764 GB, free: 14.03 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.375e-05/0.08326, allocations: 0 / 0.8764 GB, free: 14.03 MB / 0.7917 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.003752/0.08701, allocations: 3.191 MB / 0.8795 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.08705, allocations: 8.031 kB / 0.8795 GB, free: 10.75 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/0.0891, allocations: 0.842 MB / 0.8803 GB, free: 9.91 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/0.09228, allocations: 2.362 MB / 0.8826 GB, free: 7.461 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.09243, allocations: 127 kB / 0.8828 GB, free: 7.336 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.0926, allocations: 160 kB / 0.8829 GB, free: 7.18 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.09468, allocations: 1.442 MB / 0.8843 GB, free: 5.637 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.0947, allocations: 0 / 0.8843 GB, free: 5.637 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.09481, allocations: 64 kB / 0.8844 GB, free: 5.574 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.869e-05/0.09484, allocations: 40 kB / 0.8844 GB, free: 5.535 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.09654, allocations: 0.6946 MB / 0.8851 GB, free: 4.84 MB / 0.7917 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.007282/0.1038, allocations: 6.441 MB / 0.8914 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.1054, allocations: 0.709 MB / 0.8921 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002883/0.1057, allocations: 192.1 kB / 0.8923 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.1058, allocations: 47.97 kB / 0.8923 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1058, allocations: 41.39 kB / 0.8924 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=76): time 3.707e-06/0.1058, allocations: 0 / 0.8924 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=76): time 0.003143/0.109, allocations: 1.347 MB / 0.8937 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.109, allocations: 89.11 kB / 0.8938 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002139/0.1112, allocations: 1.714 MB / 0.8954 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.756e-05/0.1113, allocations: 45.7 kB / 0.8955 GB, free: 9.938 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006361/0.1119, allocations: 1.146 MB / 0.8966 GB, free: 8.777 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.1121, allocations: 277.6 kB / 0.8969 GB, free: 8.504 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002789/0.1124, allocations: 260.4 kB / 0.8971 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1125, allocations: 0.516 MB / 0.8976 GB, free: 7.719 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003436/0.1128, allocations: 174.5 kB / 0.8978 GB, free: 7.547 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/0.1136, allocations: 1.343 MB / 0.8991 GB, free: 5.824 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008365/0.1145, allocations: 0.7592 MB / 0.8998 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.1145, allocations: 4 kB / 0.8998 GB, free: 4.902 MB / 0.8073 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002738/0.1172, allocations: 1.3 MB / 0.9011 GB, free: 3.586 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1172, allocations: 8 kB / 0.9011 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1172, allocations: 12.06 kB / 0.9011 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009429/0.1182, allocations: 409.9 kB / 0.9015 GB, free: 3.16 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008/0.119, allocations: 235.6 kB / 0.9017 GB, free: 2.93 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.1201, allocations: 1.826 MB / 0.9035 GB, free: 1.039 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009625/0.121, allocations: 207.3 kB / 0.9037 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.073e-05/0.1211, allocations: 55.97 kB / 0.9038 GB, free: 0.7812 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (105): * Single equations (assignments): 103 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004401/0.1215, allocations: 228.3 kB / 0.904 GB, free: 0.5469 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00029/0.1218, allocations: 234.6 kB / 0.9042 GB, free: 324 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.1232, allocations: 0.9504 MB / 0.9051 GB, free: 15.35 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.1232, allocations: 12 kB / 0.9052 GB, free: 15.34 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1232, allocations: 0 / 0.9052 GB, free: 15.34 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.468e-06/0.1232, allocations: 3.984 kB / 0.9052 GB, free: 15.34 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/0.1267, allocations: 2.588 MB / 0.9077 GB, free: 12.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.1267, allocations: 7.984 kB / 0.9077 GB, free: 12.63 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.127, allocations: 115.8 kB / 0.9078 GB, free: 12.52 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007835/0.1278, allocations: 410.8 kB / 0.9082 GB, free: 12.11 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.444e-05/0.1278, allocations: 23.98 kB / 0.9082 GB, free: 12.09 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001392/0.1292, allocations: 1.876 MB / 0.91 GB, free: 10.15 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.1292, allocations: 4 kB / 0.9101 GB, free: 10.14 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002052/0.1313, allocations: 1.395 MB / 0.9114 GB, free: 8.664 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005933/0.1319, allocations: 372.2 kB / 0.9118 GB, free: 8.301 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.1321, allocations: 27.88 kB / 0.9118 GB, free: 8.273 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005987/0.1327, allocations: 79.92 kB / 0.9119 GB, free: 8.195 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.146e-05/0.1327, allocations: 47.91 kB / 0.9119 GB, free: 8.148 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.1328, allocations: 47.95 kB / 0.912 GB, free: 8.102 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001167/0.1339, allocations: 1.037 MB / 0.913 GB, free: 7.047 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1339, allocations: 0 / 0.913 GB, free: 7.047 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001332/0.1353, allocations: 0.5924 MB / 0.9136 GB, free: 6.453 MB / 0.823 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004321/0.1357, allocations: 221.5 kB / 0.9138 GB, free: 6.227 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001388/0.1371, allocations: 0.668 MB / 0.9144 GB, free: 5.559 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.1371, allocations: 0 / 0.9144 GB, free: 5.559 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007093/0.1378, allocations: 391.7 kB / 0.9148 GB, free: 5.176 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/0.1403, allocations: 0.9138 MB / 0.9157 GB, free: 4.277 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.1446, allocations: 3.244 MB / 0.9189 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.1449, allocations: 374.1 kB / 0.9192 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000982/0.1459, allocations: 347 kB / 0.9195 GB, free: 200 kB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.1462, allocations: 136.5 kB / 0.9197 GB, free: 64 kB / 0.823 GB Notification: Performance of SimCode: time 2.394e-06/0.1462, allocations: 0 / 0.9197 GB, free: 64 kB / 0.823 GB Notification: Performance of Templates: time 0.04386/0.1901, allocations: 35.32 MB / 0.9542 GB, free: 13.61 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.162339028902352]