Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.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_10_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_10_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.001091/0.001092, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001556/0.001556, allocations: 168.7 kB / 15.95 MB, free: 204 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.531/1.531, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.923/2.923, allocations: 437.7 MB / 0.7117 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003456, allocations: 8 kB / 0.8722 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7952/0.7956, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05404/0.8497, allocations: 56.5 MB / 1.078 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01644/0.8662, allocations: 11.23 MB / 1.089 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.8689, allocations: 51.69 kB / 1.089 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.8709, allocations: 468.8 kB / 1.089 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006395/0.8773, allocations: 1.527 MB / 1.091 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003903/0.8812, allocations: 0.856 MB / 1.091 GB, free: 9.246 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006026/0.8873, allocations: 3.385 MB / 1.095 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.8889, allocations: 0.7957 MB / 1.095 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002736/0.8917, allocations: 1.034 MB / 1.096 GB, free: 3.992 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.8933, allocations: 0.8088 MB / 1.097 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.8934, allocations: 40 kB / 1.097 GB, free: 3.141 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.8961, allocations: 1.099 MB / 1.098 GB, free: 2.039 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002639/0.8963, allocations: 206.9 kB / 1.099 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004776/0.8968, allocations: 285 kB / 1.099 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002192/0.899, allocations: 1.625 MB / 1.1 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8991, allocations: 4 kB / 1.1 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.275e-06/0.8991, allocations: 0 / 1.1 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.52e-05/0.8991, allocations: 0 / 1.1 GB, free: 15.92 MB / 0.8575 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.002764/0.9019, allocations: 1.497 MB / 1.102 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.9019, allocations: 11.98 kB / 1.102 GB, free: 14.35 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/0.9039, allocations: 481.8 kB / 1.102 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00219/0.9061, allocations: 1.09 MB / 1.103 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003296/0.9064, allocations: 125.9 kB / 1.104 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.9065, allocations: 84 kB / 1.104 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.9085, allocations: 1.001 MB / 1.105 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.9086, allocations: 0 / 1.105 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.637e-05/0.9087, allocations: 32 kB / 1.105 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.9087, allocations: 20 kB / 1.105 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00217/0.9109, allocations: 0.9016 MB / 1.106 GB, free: 10.53 MB / 0.8575 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.006448/0.9173, allocations: 4.885 MB / 1.11 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/0.9204, allocations: 0.9067 MB / 1.111 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006667/0.9211, allocations: 320.7 kB / 1.111 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006237/0.9217, allocations: 0.9025 MB / 1.112 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.9218, allocations: 42.56 kB / 1.112 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=43): time 3.286e-06/0.9218, allocations: 0 / 1.112 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43): time 0.006504/0.9283, allocations: 1.943 MB / 1.114 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.9283, allocations: 63.34 kB / 1.114 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/0.9299, allocations: 1.04 MB / 1.115 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.817e-05/0.93, allocations: 37.7 kB / 1.115 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004176/0.9304, allocations: 0.5196 MB / 1.116 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.9306, allocations: 161.8 kB / 1.116 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.9306, allocations: 12 kB / 1.116 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9307, allocations: 322 kB / 1.116 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008007/0.9316, allocations: 316.9 kB / 1.117 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009502/0.9325, allocations: 0.5269 MB / 1.117 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008369/0.9334, allocations: 345.4 kB / 1.118 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.9334, allocations: 4 kB / 1.118 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003381/0.9368, allocations: 1.216 MB / 1.119 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.9369, allocations: 205.3 kB / 1.119 GB, free: 12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.937, allocations: 11.95 kB / 1.119 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.9382, allocations: 336.6 kB / 1.119 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.9387, allocations: 127.8 kB / 1.119 GB, free: 11.53 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.9402, allocations: 0.9396 MB / 1.12 GB, free: 10.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.9417, allocations: 187.3 kB / 1.12 GB, free: 10.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.9417, allocations: 31.98 kB / 1.121 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.9418, allocations: 0 / 1.121 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003013/0.9448, allocations: 1.078 MB / 1.122 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.9448, allocations: 8.094 kB / 1.122 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.9459, allocations: 322.1 kB / 1.122 GB, free: 8.941 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.9464, allocations: 131.7 kB / 1.122 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.9479, allocations: 0.9441 MB / 1.123 GB, free: 7.844 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.9494, allocations: 177.1 kB / 1.123 GB, free: 7.672 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-05/0.9495, allocations: 27.98 kB / 1.123 GB, free: 7.645 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008771/0.9504, allocations: 350.3 kB / 1.123 GB, free: 7.293 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/0.9506, allocations: 114.6 kB / 1.124 GB, free: 7.18 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002303/0.9529, allocations: 0.9768 MB / 1.125 GB, free: 6.184 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.953, allocations: 11.98 kB / 1.125 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.953, allocations: 0 / 1.125 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.953, allocations: 0 / 1.125 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005112/0.9581, allocations: 2.257 MB / 1.127 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.9581, allocations: 12.02 kB / 1.127 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002713/0.9584, allocations: 63.89 kB / 1.127 GB, free: 3.758 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.9595, allocations: 322.6 kB / 1.127 GB, free: 3.441 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.206e-05/0.9596, allocations: 19.98 kB / 1.127 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.961, allocations: 0.9659 MB / 1.128 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.961, allocations: 0 / 1.128 GB, free: 2.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003398/0.9644, allocations: 1.253 MB / 1.129 GB, free: 1.129 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007421/0.9652, allocations: 283.4 kB / 1.13 GB, free: 0.832 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.9653, allocations: 12 kB / 1.13 GB, free: 0.8203 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008131/0.9661, allocations: 111.9 kB / 1.13 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.938e-05/0.9662, allocations: 47.84 kB / 1.13 GB, free: 0.6641 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.9663, allocations: 23.98 kB / 1.13 GB, free: 0.6406 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001308/0.9676, allocations: 0.7313 MB / 1.13 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9676, allocations: 0 / 1.13 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001709/0.9693, allocations: 0.5574 MB / 1.131 GB, free: 15.34 MB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007937/0.9701, allocations: 364.3 kB / 1.131 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002976/0.9731, allocations: 1.164 MB / 1.132 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.9731, allocations: 0 / 1.132 GB, free: 13.82 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000829/0.974, allocations: 362.5 kB / 1.133 GB, free: 13.47 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.9763, allocations: 0.5011 MB / 1.133 GB, free: 12.97 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005287/0.9816, allocations: 2.508 MB / 1.136 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006623/0.9823, allocations: 1.058 MB / 1.137 GB, free: 9.316 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001083/0.9834, allocations: 216.7 kB / 1.137 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001845/0.9835, allocations: 75.42 kB / 1.137 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of SimCode: time 1.413e-06/0.9836, allocations: 0 / 1.137 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of Templates: time 0.04087/1.024, allocations: 22.92 MB / 1.159 GB, free: 2.398 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Examples_Carnot_TEva.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches