Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009279/0.0009279, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.0009507/0.0009507, allocations: 169 kB / 23.02 MB, free: 1.543 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 0.9102/0.9102, allocations: 177.1 MB / 203.4 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.981/1.981, allocations: 429.5 MB / 0.6732 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.272e-05, allocations: 3.375 kB / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.02312/0.02314, allocations: 33.13 MB / 0.9105 GB, free: 5.059 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.01611/0.03925, allocations: 10.82 MB / 0.9211 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003505/0.04276, allocations: 186.4 kB / 0.9213 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.04442, allocations: 0.7828 MB / 0.922 GB, free: 9.25 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.005536/0.04995, allocations: 2.7 MB / 0.9247 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.004729/0.05468, allocations: 2.698 MB / 0.9273 GB, free: 3.836 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.007792/0.06247, allocations: 6.651 MB / 0.9338 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.06542, allocations: 1.9 MB / 0.9357 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005814/0.07124, allocations: 3.417 MB / 0.939 GB, free: 7.797 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.07353, allocations: 1.573 MB / 0.9405 GB, free: 6.219 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0004485/0.07398, allocations: 244 kB / 0.9408 GB, free: 5.98 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.0753, allocations: 0.7137 MB / 0.9415 GB, free: 5.266 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.000443/0.07575, allocations: 0.6495 MB / 0.9421 GB, free: 4.613 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.07704, allocations: 0.9936 MB / 0.9431 GB, free: 3.617 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.003053/0.08009, allocations: 2.445 MB / 0.9455 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.0801, allocations: 0 / 0.9455 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.843e-06/0.0801, allocations: 0 / 0.9455 GB, free: 1.164 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.832e-05/0.08018, allocations: 0 / 0.9455 GB, free: 1.164 MB / 0.9011 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.004028/0.0842, allocations: 3.286 MB / 0.9487 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.08425, allocations: 8.031 kB / 0.9487 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001996/0.08624, allocations: 0.8534 MB / 0.9495 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/0.08896, allocations: 2.347 MB / 0.9518 GB, free: 10.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-05/0.08905, allocations: 135 kB / 0.9519 GB, free: 10.37 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002417/0.08929, allocations: 176 kB / 0.9521 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.09144, allocations: 1.422 MB / 0.9535 GB, free: 8.676 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.09147, allocations: 7.938 kB / 0.9535 GB, free: 8.668 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.09157, allocations: 64 kB / 0.9536 GB, free: 8.605 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.0916, allocations: 43.98 kB / 0.9536 GB, free: 8.562 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.09298, allocations: 0.6946 MB / 0.9543 GB, free: 7.867 MB / 0.9167 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.007409/0.1004, allocations: 6.55 MB / 0.9607 GB, free: 1.156 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.1018, allocations: 0.6808 MB / 0.9613 GB, free: 468 kB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002999/0.1021, allocations: 191.3 kB / 0.9615 GB, free: 268 kB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001369/0.1022, allocations: 43.91 kB / 0.9616 GB, free: 224 kB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.1023, allocations: 45.39 kB / 0.9616 GB, free: 168 kB / 0.9167 GB Notification: Performance of pre-optimization done (n=76): time 4.489e-06/0.1023, allocations: 4 kB / 0.9616 GB, free: 164 kB / 0.9167 GB Notification: Performance of matching and sorting (n=76): time 0.002988/0.1053, allocations: 1.357 MB / 0.9629 GB, free: 14.79 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1053, allocations: 89.11 kB / 0.963 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.1073, allocations: 1.838 MB / 0.9648 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-05/0.1074, allocations: 49.7 kB / 0.9649 GB, free: 12.76 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006919/0.1081, allocations: 1.191 MB / 0.966 GB, free: 11.55 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.1082, allocations: 281.6 kB / 0.9663 GB, free: 11.27 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003262/0.1086, allocations: 328.3 kB / 0.9666 GB, free: 10.95 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1087, allocations: 0.5238 MB / 0.9671 GB, free: 10.41 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.1091, allocations: 190.5 kB / 0.9673 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.1101, allocations: 1.681 MB / 0.9689 GB, free: 8.02 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.1112, allocations: 1.158 MB / 0.9701 GB, free: 6.551 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.589e-06/0.1112, allocations: 4 kB / 0.9701 GB, free: 6.547 MB / 0.9323 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.00306/0.1143, allocations: 1.534 MB / 0.9716 GB, free: 4.996 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 4.225e-05/0.1144, allocations: 19.98 kB / 0.9716 GB, free: 4.977 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/0.1144, allocations: 16 kB / 0.9716 GB, free: 4.961 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001012/0.1154, allocations: 414.8 kB / 0.972 GB, free: 4.547 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/0.116, allocations: 303.5 kB / 0.9723 GB, free: 4.25 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.1172, allocations: 1.849 MB / 0.9741 GB, free: 2.336 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.1183, allocations: 250.9 kB / 0.9743 GB, free: 2.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.1184, allocations: 75.97 kB / 0.9744 GB, free: 2.016 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (141): * Single equations (assignments): 139 * 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.0004775/0.1189, allocations: 248.1 kB / 0.9746 GB, free: 1.762 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/0.1192, allocations: 254.5 kB / 0.9749 GB, free: 1.512 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.1205, allocations: 0.9425 MB / 0.9758 GB, free: 0.5508 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/0.1205, allocations: 12 kB / 0.9758 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1205, allocations: 0 / 0.9758 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.1205, allocations: 7.984 kB / 0.9758 GB, free: 0.5312 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/0.1243, allocations: 2.604 MB / 0.9784 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/0.1243, allocations: 4 kB / 0.9784 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.1246, allocations: 119.7 kB / 0.9785 GB, free: 13.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007741/0.1254, allocations: 399.4 kB / 0.9789 GB, free: 13.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.1254, allocations: 23.98 kB / 0.9789 GB, free: 13.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.1265, allocations: 1.883 MB / 0.9807 GB, free: 11.34 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1265, allocations: 4 kB / 0.9807 GB, free: 11.33 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.1285, allocations: 1.404 MB / 0.9821 GB, free: 9.852 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/0.129, allocations: 380.1 kB / 0.9825 GB, free: 9.477 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.1292, allocations: 27.88 kB / 0.9825 GB, free: 9.449 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005438/0.1297, allocations: 71.94 kB / 0.9826 GB, free: 9.379 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.1298, allocations: 67.77 kB / 0.9826 GB, free: 9.312 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/0.1299, allocations: 39.97 kB / 0.9827 GB, free: 9.273 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001154/0.131, allocations: 1.092 MB / 0.9837 GB, free: 8.168 MB / 0.948 GB Notification: Performance of sort global known variables: time 8e-08/0.131, allocations: 0 / 0.9837 GB, free: 8.168 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001341/0.1324, allocations: 0.6119 MB / 0.9843 GB, free: 7.555 MB / 0.948 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.0004256/0.1328, allocations: 210.9 kB / 0.9845 GB, free: 7.336 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001725/0.1345, allocations: 0.7559 MB / 0.9853 GB, free: 6.578 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.1345, allocations: 0 / 0.9853 GB, free: 6.578 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006819/0.1352, allocations: 407.5 kB / 0.9857 GB, free: 6.176 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.1374, allocations: 0.9192 MB / 0.9866 GB, free: 5.27 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004511/0.1419, allocations: 3.395 MB / 0.9899 GB, free: 1.762 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.1422, allocations: 366.6 kB / 0.9902 GB, free: 1.375 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009322/0.1431, allocations: 370 kB / 0.9906 GB, free: 1.016 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002743/0.1434, allocations: 152.4 kB / 0.9907 GB, free: 0.8672 MB / 0.948 GB Notification: Performance of SimCode: time 1.873e-06/0.1434, allocations: 0 / 0.9907 GB, free: 0.8672 MB / 0.948 GB Notification: Performance of Templates: time 0.05144/0.1948, allocations: 38.79 MB / 1.029 GB, free: 10.95 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.439191121142358]