Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009615/0.0009614, allocations: 97.78 kB / 16.02 MB, free: 76 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.001252/0.001252, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.42/1.42, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.793/2.793, allocations: 462.7 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005041/0.0005041, allocations: 8 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4093, allocations: 159.6 MB / 1.059 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06882/0.4782, allocations: 59.75 MB / 1.118 GB, free: 9.078 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01924/0.4975, allocations: 11.92 MB / 1.129 GB, free: 13.12 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002956/0.5005, allocations: 55.62 kB / 1.129 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.5031, allocations: 0.5477 MB / 1.13 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007079/0.5102, allocations: 1.8 MB / 1.132 GB, free: 10.71 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.5139, allocations: 1.074 MB / 1.133 GB, free: 9.641 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.005626/0.5195, allocations: 3.905 MB / 1.137 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.5216, allocations: 0.9022 MB / 1.137 GB, free: 4.797 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003135/0.5248, allocations: 1.12 MB / 1.138 GB, free: 3.672 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001956/0.5267, allocations: 0.8514 MB / 1.139 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003813/0.5271, allocations: 40 kB / 1.139 GB, free: 2.777 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003565/0.5307, allocations: 1.333 MB / 1.141 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004823/0.5312, allocations: 218.9 kB / 1.141 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001587/0.5328, allocations: 0.6272 MB / 1.141 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.536, allocations: 1.687 MB / 1.143 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.5361, allocations: 8 kB / 1.143 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5361, allocations: 0 / 1.143 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.341e-05/0.5361, allocations: 0 / 1.143 GB, free: 14.89 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003733/0.5399, allocations: 1.481 MB / 1.145 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5399, allocations: 15.97 kB / 1.145 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002449/0.5424, allocations: 474.8 kB / 1.145 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002702/0.5451, allocations: 1.136 MB / 1.146 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004075/0.5455, allocations: 125.9 kB / 1.146 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.5457, allocations: 80 kB / 1.146 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.5481, allocations: 1.009 MB / 1.147 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.5481, allocations: 0 / 1.147 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-05/0.5482, allocations: 32 kB / 1.147 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.242e-05/0.5483, allocations: 20 kB / 1.147 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.5508, allocations: 0.9094 MB / 1.148 GB, free: 9.461 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.007278/0.5581, allocations: 4.894 MB / 1.153 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003685/0.5618, allocations: 0.8936 MB / 1.154 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007651/0.5626, allocations: 326.4 kB / 1.154 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006301/0.5632, allocations: 0.9025 MB / 1.155 GB, free: 1.875 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.5633, allocations: 50.44 kB / 1.155 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 2.635e-06/0.5633, allocations: 0 / 1.155 GB, free: 1.816 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.007722/0.571, allocations: 1.954 MB / 1.157 GB, free: 15.83 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.5711, allocations: 55.41 kB / 1.157 GB, free: 15.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001688/0.5728, allocations: 1.055 MB / 1.158 GB, free: 14.7 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.5729, allocations: 37.7 kB / 1.158 GB, free: 14.65 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004282/0.5733, allocations: 0.5235 MB / 1.159 GB, free: 14.12 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/0.5734, allocations: 149.8 kB / 1.159 GB, free: 13.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.5735, allocations: 45.7 kB / 1.159 GB, free: 13.93 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.964e-05/0.5736, allocations: 333.9 kB / 1.159 GB, free: 13.59 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009299/0.5746, allocations: 324.9 kB / 1.16 GB, free: 13.28 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.5757, allocations: 0.5265 MB / 1.16 GB, free: 12.67 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001771/0.5774, allocations: 0.7357 MB / 1.161 GB, free: 11.88 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.5775, allocations: 0 / 1.161 GB, free: 11.88 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003852/0.5813, allocations: 1.208 MB / 1.162 GB, free: 10.66 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.5815, allocations: 221.5 kB / 1.162 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.5815, allocations: 4 kB / 1.162 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.5829, allocations: 336.6 kB / 1.162 GB, free: 10.04 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/0.5834, allocations: 131.8 kB / 1.163 GB, free: 9.914 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00166/0.5851, allocations: 0.9347 MB / 1.164 GB, free: 8.953 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.5867, allocations: 195.2 kB / 1.164 GB, free: 8.762 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.076e-05/0.5868, allocations: 31.98 kB / 1.164 GB, free: 8.73 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.5868, allocations: 4 kB / 1.164 GB, free: 8.727 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00356/0.5903, allocations: 1.066 MB / 1.165 GB, free: 7.656 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.5904, allocations: 12 kB / 1.165 GB, free: 7.645 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.5916, allocations: 318.9 kB / 1.165 GB, free: 7.332 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005408/0.5921, allocations: 127.8 kB / 1.165 GB, free: 7.207 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.5937, allocations: 0.9348 MB / 1.166 GB, free: 6.246 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/0.5951, allocations: 167.4 kB / 1.166 GB, free: 6.082 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.918e-05/0.5952, allocations: 27.98 kB / 1.166 GB, free: 6.055 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0007586/0.596, allocations: 356.9 kB / 1.167 GB, free: 5.695 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.5963, allocations: 110.6 kB / 1.167 GB, free: 5.586 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/0.5991, allocations: 0.973 MB / 1.168 GB, free: 4.602 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/0.5991, allocations: 11.98 kB / 1.168 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.5991, allocations: 0 / 1.168 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.5991, allocations: 0 / 1.168 GB, free: 4.59 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006251/0.6054, allocations: 2.257 MB / 1.17 GB, free: 2.25 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.6054, allocations: 8.031 kB / 1.17 GB, free: 2.242 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002998/0.6057, allocations: 71.89 kB / 1.17 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001149/0.6069, allocations: 322.1 kB / 1.17 GB, free: 1.855 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.143e-05/0.607, allocations: 19.98 kB / 1.17 GB, free: 1.836 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/0.6087, allocations: 0.979 MB / 1.171 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.6087, allocations: 0 / 1.171 GB, free: 0.832 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00407/0.6128, allocations: 1.257 MB / 1.173 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007091/0.6135, allocations: 279.4 kB / 1.173 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.6137, allocations: 19.92 kB / 1.173 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.6148, allocations: 115.8 kB / 1.173 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.698e-05/0.6149, allocations: 39.89 kB / 1.173 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.686e-05/0.615, allocations: 19.98 kB / 1.173 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001439/0.6164, allocations: 0.743 MB / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6164, allocations: 0 / 1.174 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001895/0.6183, allocations: 0.5652 MB / 1.174 GB, free: 13.73 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009084/0.6193, allocations: 370.6 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003651/0.6229, allocations: 1.176 MB / 1.176 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.623, allocations: 0 / 1.176 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.624, allocations: 366.5 kB / 1.176 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/0.6271, allocations: 0.4987 MB / 1.177 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006442/0.6336, allocations: 2.59 MB / 1.179 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008431/0.6345, allocations: 1.062 MB / 1.18 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.6348, allocations: 79.42 kB / 1.18 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of SimCode: time 7.51e-07/0.6348, allocations: 0 / 1.18 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of Templates: time 0.03965/0.6744, allocations: 23.63 MB / 1.203 GB, free: 28 kB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_TEva.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches