Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009945/0.0009946, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 173.2 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.619/2.619, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 12 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7105/0.7109, allocations: 142.4 MB / 0.9557 GB, free: 7.672 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1153/0.8262, allocations: 129.4 MB / 1.082 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0326/0.8588, allocations: 23.07 MB / 1.105 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005324/0.8642, allocations: 103.3 kB / 1.105 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004349/0.8686, allocations: 1.212 MB / 1.106 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01215/0.8807, allocations: 3.781 MB / 1.11 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006012/0.8868, allocations: 1.958 MB / 1.111 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01107/0.8979, allocations: 8.289 MB / 1.12 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003761/0.9016, allocations: 1.914 MB / 1.121 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006203/0.9079, allocations: 2.294 MB / 1.124 GB, free: 2.832 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003726/0.9116, allocations: 1.788 MB / 1.125 GB, free: 1.035 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006489/0.9123, allocations: 92 kB / 1.126 GB, free: 0.9453 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004678/0.917, allocations: 1.719 MB / 1.127 GB, free: 15.22 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007492/0.9178, allocations: 457.6 kB / 1.128 GB, free: 14.77 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00227/0.9201, allocations: 1.292 MB / 1.129 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004526/0.9246, allocations: 3.254 MB / 1.132 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.9246, allocations: 0 / 1.132 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.873e-06/0.9246, allocations: 0 / 1.132 GB, free: 10.21 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.767e-05/0.9247, allocations: 0 / 1.132 GB, free: 10.21 MB / 0.8887 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.005765/0.9305, allocations: 2.682 MB / 1.135 GB, free: 7.441 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.9306, allocations: 11.97 kB / 1.135 GB, free: 7.43 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005129/0.9357, allocations: 0.9491 MB / 1.136 GB, free: 6.477 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005052/0.9408, allocations: 2.272 MB / 1.138 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00109/0.9419, allocations: 326.8 kB / 1.138 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004044/0.9423, allocations: 160 kB / 1.138 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00474/0.9471, allocations: 1.977 MB / 1.14 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.9471, allocations: 7.938 kB / 1.14 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.9473, allocations: 67.94 kB / 1.14 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.9474, allocations: 40 kB / 1.14 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005371/0.9527, allocations: 1.913 MB / 1.142 GB, free: 15.58 MB / 0.9044 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.01489/0.9677, allocations: 9.094 MB / 1.151 GB, free: 5.891 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004755/0.9724, allocations: 1.3 MB / 1.152 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.9738, allocations: 481.4 kB / 1.153 GB, free: 4.098 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.975, allocations: 1.723 MB / 1.155 GB, free: 1.988 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.9751, allocations: 38.56 kB / 1.155 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 4.819e-06/0.9751, allocations: 7.984 kB / 1.155 GB, free: 1.934 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.009784/0.9849, allocations: 2.527 MB / 1.157 GB, free: 15.35 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.985, allocations: 89.09 kB / 1.157 GB, free: 15.25 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004925/0.9899, allocations: 2.532 MB / 1.16 GB, free: 12.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002679/0.9902, allocations: 49.7 kB / 1.16 GB, free: 12.64 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.9913, allocations: 1.041 MB / 1.161 GB, free: 11.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004026/0.9917, allocations: 276.2 kB / 1.161 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.9919, allocations: 89.66 kB / 1.161 GB, free: 11.22 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.992, allocations: 349.9 kB / 1.161 GB, free: 10.88 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.9941, allocations: 0.6232 MB / 1.162 GB, free: 10.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/0.9964, allocations: 1.021 MB / 1.163 GB, free: 9.078 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003554/1, allocations: 1.326 MB / 1.164 GB, free: 7.652 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/1, allocations: 4 kB / 1.164 GB, free: 7.648 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007447/1.007, allocations: 2.2 MB / 1.166 GB, free: 5.43 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/1.008, allocations: 8 kB / 1.166 GB, free: 5.422 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/1.008, allocations: 15.88 kB / 1.166 GB, free: 5.406 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002012/1.01, allocations: 0.4927 MB / 1.167 GB, free: 4.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/1.011, allocations: 315.5 kB / 1.167 GB, free: 4.602 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/1.013, allocations: 1.557 MB / 1.169 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00346/1.017, allocations: 483.9 kB / 1.169 GB, free: 2.52 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002151/1.017, allocations: 59.95 kB / 1.169 GB, free: 2.461 MB / 0.92 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 (111): * Single equations (assignments): 109 * 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.0009771/1.018, allocations: 465.4 kB / 1.17 GB, free: 1.996 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005081/1.019, allocations: 248.8 kB / 1.17 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/1.023, allocations: 1.551 MB / 1.171 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-05/1.023, allocations: 11.98 kB / 1.171 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/1.023, allocations: 4 kB / 1.171 GB, free: 168 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/1.023, allocations: 3.984 kB / 1.171 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008913/1.032, allocations: 3.702 MB / 1.175 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-05/1.032, allocations: 8.062 kB / 1.175 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/1.032, allocations: 131.8 kB / 1.175 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001931/1.034, allocations: 0.5069 MB / 1.176 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/1.034, allocations: 27.97 kB / 1.176 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002985/1.037, allocations: 1.647 MB / 1.177 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.037, allocations: 4 kB / 1.177 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006988/1.044, allocations: 2.084 MB / 1.179 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001569/1.046, allocations: 0.5053 MB / 1.18 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004342/1.046, allocations: 23.98 kB / 1.18 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/1.048, allocations: 195.7 kB / 1.18 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-05/1.049, allocations: 59.81 kB / 1.18 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.049, allocations: 43.95 kB / 1.18 GB, free: 6.973 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003657/1.052, allocations: 1.785 MB / 1.182 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.01e-07/1.052, allocations: 4 kB / 1.182 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002543/1.055, allocations: 0.6788 MB / 1.183 GB, free: 4.5 MB / 0.9356 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.001305/1.056, allocations: 0.609 MB / 1.183 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004599/1.061, allocations: 1.436 MB / 1.185 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.061, allocations: 4.188 kB / 1.185 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002595/1.064, allocations: 0.7285 MB / 1.185 GB, free: 1.719 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008492/1.072, allocations: 1.325 MB / 1.187 GB, free: 424 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007819/1.08, allocations: 4.4 MB / 1.191 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/1.081, allocations: 1.483 MB / 1.192 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000791/1.082, allocations: 195.4 kB / 1.193 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of SimCode: time 1.042e-06/1.082, allocations: 0 / 1.193 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of Templates: time 0.5543/1.636, allocations: 61.8 MB / 1.253 GB, free: 274 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches