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.0008721/0.0008725, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.3 MB / 240 MB, free: 5.414 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.46/2.46, allocations: 390.9 MB / 0.666 GB, free: 2.465 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003612, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8444/0.8448, allocations: 142.4 MB / 0.9544 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1101/0.9549, allocations: 122.2 MB / 1.074 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03136/0.9863, allocations: 21.79 MB / 1.095 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00623/0.9926, allocations: 111.2 kB / 1.095 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004368/0.997, allocations: 1.001 MB / 1.096 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/1.008, allocations: 3.164 MB / 1.099 GB, free: 11.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004863/1.012, allocations: 1.511 MB / 1.101 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.009987/1.022, allocations: 7.205 MB / 1.108 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003528/1.026, allocations: 1.664 MB / 1.109 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005322/1.031, allocations: 2.154 MB / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/1.034, allocations: 1.68 MB / 1.113 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002438/1.034, allocations: 92 kB / 1.113 GB, free: 12.65 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003869/1.038, allocations: 1.22 MB / 1.114 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0005137/1.039, allocations: 417.9 kB / 1.115 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008671/1.039, allocations: 0.5511 MB / 1.115 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003686/1.043, allocations: 3.147 MB / 1.118 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.043, allocations: 0 / 1.118 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.134e-06/1.043, allocations: 0 / 1.118 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 4.047e-05/1.043, allocations: 0 / 1.118 GB, free: 7.309 MB / 0.8731 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.004857/1.048, allocations: 2.705 MB / 1.121 GB, free: 4.52 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.048, allocations: 12.03 kB / 1.121 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003965/1.052, allocations: 0.9528 MB / 1.122 GB, free: 3.551 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004114/1.056, allocations: 2.188 MB / 1.124 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008437/1.057, allocations: 318.9 kB / 1.124 GB, free: 0.9766 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002243/1.057, allocations: 160 kB / 1.125 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00391/1.061, allocations: 1.973 MB / 1.127 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.908e-05/1.061, allocations: 3.938 kB / 1.127 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/1.061, allocations: 71.94 kB / 1.127 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/1.061, allocations: 40 kB / 1.127 GB, free: 14.67 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004524/1.066, allocations: 1.897 MB / 1.128 GB, free: 12.77 MB / 0.8887 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.01218/1.078, allocations: 9.094 MB / 1.137 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003762/1.082, allocations: 1.305 MB / 1.139 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009921/1.083, allocations: 481.7 kB / 1.139 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/1.084, allocations: 1.726 MB / 1.141 GB, free: 15.17 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.084, allocations: 42.55 kB / 1.141 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.555e-06/1.084, allocations: 0 / 1.141 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.00818/1.092, allocations: 2.504 MB / 1.143 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/1.092, allocations: 89.11 kB / 1.143 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/1.097, allocations: 2.513 MB / 1.146 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001678/1.097, allocations: 45.7 kB / 1.146 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/1.098, allocations: 1.05 MB / 1.147 GB, free: 8.816 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/1.098, allocations: 272.2 kB / 1.147 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.169e-05/1.098, allocations: 20 kB / 1.147 GB, free: 8.527 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.099, allocations: 353.9 kB / 1.147 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/1.1, allocations: 0.6232 MB / 1.148 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/1.102, allocations: 1.009 MB / 1.149 GB, free: 6.391 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001688/1.104, allocations: 0.6819 MB / 1.15 GB, free: 5.715 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/1.104, allocations: 3.938 kB / 1.15 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005029/1.109, allocations: 1.966 MB / 1.152 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/1.109, allocations: 8 kB / 1.152 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.109, allocations: 8 kB / 1.152 GB, free: 3.711 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/1.111, allocations: 0.5016 MB / 1.152 GB, free: 3.203 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.112, allocations: 311.5 kB / 1.152 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001947/1.114, allocations: 1.556 MB / 1.154 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/1.116, allocations: 481.9 kB / 1.154 GB, free: 0.8203 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001294/1.117, allocations: 59.97 kB / 1.155 GB, free: 0.7617 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0009545/1.118, allocations: 471.3 kB / 1.155 GB, free: 300 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003499/1.118, allocations: 245 kB / 1.155 GB, free: 52 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003358/1.121, allocations: 1.555 MB / 1.157 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/1.121, allocations: 8 kB / 1.157 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/1.121, allocations: 4 kB / 1.157 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/1.121, allocations: 7.938 kB / 1.157 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007117/1.128, allocations: 3.694 MB / 1.16 GB, free: 10.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.128, allocations: 8.031 kB / 1.16 GB, free: 10.65 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/1.129, allocations: 131.8 kB / 1.16 GB, free: 10.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001556/1.131, allocations: 0.4933 MB / 1.161 GB, free: 10.02 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-05/1.131, allocations: 27.98 kB / 1.161 GB, free: 9.992 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/1.133, allocations: 1.649 MB / 1.163 GB, free: 8.293 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/1.133, allocations: 4 kB / 1.163 GB, free: 8.289 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005346/1.138, allocations: 2.08 MB / 1.165 GB, free: 6.141 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/1.14, allocations: 0.5131 MB / 1.165 GB, free: 5.605 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005775/1.14, allocations: 16 kB / 1.165 GB, free: 5.59 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.142, allocations: 195.7 kB / 1.165 GB, free: 5.398 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.812e-05/1.142, allocations: 59.88 kB / 1.165 GB, free: 5.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.143, allocations: 43.97 kB / 1.165 GB, free: 5.297 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003966/1.147, allocations: 1.773 MB / 1.167 GB, free: 3.52 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.81e-07/1.147, allocations: 4 kB / 1.167 GB, free: 3.516 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002273/1.149, allocations: 0.6789 MB / 1.168 GB, free: 2.836 MB / 0.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001231/1.15, allocations: 0.5839 MB / 1.168 GB, free: 2.25 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00399/1.154, allocations: 1.424 MB / 1.17 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.154, allocations: 0 / 1.17 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002219/1.156, allocations: 0.7402 MB / 1.171 GB, free: 92 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006665/1.163, allocations: 1.255 MB / 1.172 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007744/1.171, allocations: 4.188 MB / 1.176 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/1.172, allocations: 1.494 MB / 1.177 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002252/1.174, allocations: 436.2 kB / 1.178 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005308/1.175, allocations: 171.3 kB / 1.178 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of SimCode: time 9.02e-07/1.175, allocations: 0 / 1.178 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of Templates: time 0.08469/1.26, allocations: 46.92 MB / 1.224 GB, free: 10.17 MB / 0.9825 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches