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.00121/0.00121, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001775/0.001775, allocations: 177.3 kB / 15.94 MB, free: 228 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.446/1.446, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.728/2.728, allocations: 436.5 MB / 0.7104 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 12 kB / 0.8708 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.8089, allocations: 153.7 MB / 1.021 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05738/0.8663, allocations: 51.31 MB / 1.071 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02119/0.8876, allocations: 10.31 MB / 1.081 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002758/0.8904, allocations: 47.62 kB / 1.081 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.8933, allocations: 0.6257 MB / 1.082 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.9049, allocations: 1.955 MB / 1.084 GB, free: 0.8047 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.006135/0.911, allocations: 1.304 MB / 1.085 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006152/0.9172, allocations: 1.85 MB / 1.087 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.9194, allocations: 0.8078 MB / 1.087 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00371/0.9232, allocations: 0.9886 MB / 1.088 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001864/0.9251, allocations: 0.5949 MB / 1.089 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001503/0.9252, allocations: 44 kB / 1.089 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003554/0.9288, allocations: 0.9946 MB / 1.09 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.9291, allocations: 195.1 kB / 1.09 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.9297, allocations: 285 kB / 1.09 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002476/0.9322, allocations: 1.574 MB / 1.092 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.9322, allocations: 7.938 kB / 1.092 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9322, allocations: 0 / 1.092 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.42e-05/0.9322, allocations: 0 / 1.092 GB, free: 8.145 MB / 0.8419 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.003054/0.9353, allocations: 1.485 MB / 1.093 GB, free: 6.602 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.9353, allocations: 8.031 kB / 1.093 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002176/0.9375, allocations: 473.9 kB / 1.094 GB, free: 6.129 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/0.9396, allocations: 1.047 MB / 1.095 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003613/0.94, allocations: 133.9 kB / 1.095 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.9401, allocations: 84 kB / 1.095 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.942, allocations: 0.9856 MB / 1.096 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.9421, allocations: 7.938 kB / 1.096 GB, free: 3.773 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.493e-05/0.9422, allocations: 32 kB / 1.096 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.9422, allocations: 24 kB / 1.096 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002252/0.9444, allocations: 0.9016 MB / 1.097 GB, free: 2.82 MB / 0.8419 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.006728/0.9512, allocations: 4.92 MB / 1.102 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003474/0.9547, allocations: 0.9019 MB / 1.103 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007059/0.9554, allocations: 0.8986 MB / 1.104 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.9554, allocations: 42.55 kB / 1.104 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=43): time 2.305e-06/0.9555, allocations: 0 / 1.104 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43): time 0.007786/0.9632, allocations: 1.936 MB / 1.106 GB, free: 9.512 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.9633, allocations: 67.3 kB / 1.106 GB, free: 9.434 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/0.9651, allocations: 1.059 MB / 1.107 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.359e-05/0.9652, allocations: 37.7 kB / 1.107 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.9656, allocations: 0.5351 MB / 1.107 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.9658, allocations: 149.8 kB / 1.107 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.9658, allocations: 8 kB / 1.107 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.966, allocations: 330 kB / 1.108 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008821/0.9668, allocations: 316.8 kB / 1.108 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.9679, allocations: 0.5296 MB / 1.108 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009808/0.9689, allocations: 353.3 kB / 1.109 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.9689, allocations: 0 / 1.109 GB, free: 6.027 MB / 0.8575 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003735/0.9727, allocations: 1.216 MB / 1.11 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007022/0.9734, allocations: 1.667 MB / 1.112 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.9734, allocations: 4 kB / 1.112 GB, free: 3.008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.9747, allocations: 332.7 kB / 1.112 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005545/0.9753, allocations: 123.8 kB / 1.112 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.9768, allocations: 0.9387 MB / 1.113 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.9782, allocations: 199.2 kB / 1.113 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.527e-05/0.9783, allocations: 31.98 kB / 1.113 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.9783, allocations: 5.25 kB / 1.113 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003272/0.9816, allocations: 1.07 MB / 1.114 GB, free: 296 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.9816, allocations: 8 kB / 1.114 GB, free: 288 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.9828, allocations: 323.7 kB / 1.115 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005303/0.9833, allocations: 135.8 kB / 1.115 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/0.9847, allocations: 0.9308 MB / 1.116 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.9861, allocations: 171.4 kB / 1.116 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.091e-05/0.9862, allocations: 31.98 kB / 1.116 GB, free: 14.68 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.000702/0.9869, allocations: 345 kB / 1.116 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.9871, allocations: 110.6 kB / 1.116 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.9894, allocations: 0.9729 MB / 1.117 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.9894, allocations: 8 kB / 1.117 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.9894, allocations: 3.938 kB / 1.117 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.9895, allocations: 7.984 kB / 1.117 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005212/0.9947, allocations: 2.276 MB / 1.119 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.9947, allocations: 4 kB / 1.119 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002993/0.995, allocations: 68.17 kB / 1.119 GB, free: 10.78 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001069/0.9961, allocations: 320.5 kB / 1.12 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.9962, allocations: 19.98 kB / 1.12 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001594/0.9978, allocations: 0.9729 MB / 1.121 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.9978, allocations: 0 / 1.121 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003965/1.002, allocations: 1.371 MB / 1.122 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007276/1.002, allocations: 283.4 kB / 1.122 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/1.003, allocations: 12 kB / 1.122 GB, free: 7.676 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.004, allocations: 111.9 kB / 1.122 GB, free: 7.566 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/1.004, allocations: 39.84 kB / 1.123 GB, free: 7.527 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.571e-05/1.004, allocations: 27.98 kB / 1.123 GB, free: 7.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001649/1.006, allocations: 0.7469 MB / 1.123 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/1.006, allocations: 0 / 1.123 GB, free: 6.746 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002162/1.008, allocations: 0.5652 MB / 1.124 GB, free: 6.18 MB / 0.8731 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.0009949/1.009, allocations: 366.4 kB / 1.124 GB, free: 5.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003507/1.012, allocations: 1.163 MB / 1.125 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/1.012, allocations: 0 / 1.125 GB, free: 4.656 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009764/1.013, allocations: 364.5 kB / 1.126 GB, free: 4.301 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/1.016, allocations: 0.4956 MB / 1.126 GB, free: 3.809 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/1.023, allocations: 2.496 MB / 1.129 GB, free: 1.254 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008781/1.024, allocations: 1.085 MB / 1.13 GB, free: 144 kB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001271/1.025, allocations: 216.6 kB / 1.13 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/1.025, allocations: 75.42 kB / 1.13 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of SimCode: time 4.348e-06/1.025, allocations: 4 kB / 1.13 GB, free: 15.85 MB / 0.8887 GB Notification: Performance of Templates: time 0.04279/1.068, allocations: 23.2 MB / 1.153 GB, free: 8.914 MB / 0.9044 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","../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches