Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,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|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,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|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.962/1.962, allocations: 390.4 MB / 397.7 MB, free: 11.25 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 181.3 kB / 490.8 MB, free: 1.957 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 221.4 MB / 0.7863 GB, free: 13.69 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008962/0.0008961, allocations: 91.17 kB / 0.9264 GB, free: 14.23 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.374e-06/7.404e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2753, allocations: 143 MB / 1.212 GB, free: 40.14 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.03/1.305, allocations: 434.6 MB / 1.636 GB, free: 13.29 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/1.305, allocations: 90.2 kB / 1.636 GB, free: 13.25 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.78/5.085, allocations: 1.069 GB / 2.705 GB, free: 264.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001227/5.085, allocations: 36.5 kB / 2.705 GB, free: 264.2 MB / 1.167 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.003154/5.089, allocations: 1.507 MB / 2.707 GB, free: 263.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/5.089, allocations: 7.5 kB / 2.707 GB, free: 263.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/5.09, allocations: 376.6 kB / 2.707 GB, free: 263.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002286/5.092, allocations: 1.266 MB / 2.708 GB, free: 263.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003247/5.093, allocations: 104.4 kB / 2.708 GB, free: 263.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-05/5.093, allocations: 50.16 kB / 2.708 GB, free: 263.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001001/5.094, allocations: 0.6044 MB / 2.709 GB, free: 263.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/5.095, allocations: 0.7529 MB / 2.71 GB, free: 263.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/5.095, allocations: 9.641 kB / 2.71 GB, free: 263.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.289e-05/5.095, allocations: 0 / 2.71 GB, free: 263.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.873e-05/5.095, allocations: 34.22 kB / 2.71 GB, free: 263.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005176/5.1, allocations: 4.697 MB / 2.714 GB, free: 260.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/5.101, allocations: 402.5 kB / 2.715 GB, free: 260.5 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/5.101, allocations: 194.9 kB / 2.715 GB, free: 260.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/5.102, allocations: 1.372 MB / 2.716 GB, free: 259 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/5.102, allocations: 40.78 kB / 2.716 GB, free: 259 MB / 1.167 GB Notification: Performance of pre-optimization done (n=43): time 2.896e-06/5.102, allocations: 0 / 2.716 GB, free: 259 MB / 1.167 GB Notification: Performance of matching and sorting (n=43): time 0.003064/5.105, allocations: 0.8545 MB / 2.717 GB, free: 258.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/5.105, allocations: 55.03 kB / 2.717 GB, free: 258.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/5.106, allocations: 0.7451 MB / 2.718 GB, free: 258.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/5.106, allocations: 29.52 kB / 2.718 GB, free: 258.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/5.106, allocations: 388 kB / 2.718 GB, free: 258.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/5.107, allocations: 143.5 kB / 2.718 GB, free: 258.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.824e-05/5.107, allocations: 0 / 2.718 GB, free: 258.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.607e-05/5.107, allocations: 328.7 kB / 2.719 GB, free: 258.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/5.107, allocations: 165.4 kB / 2.719 GB, free: 258.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/5.107, allocations: 395.3 kB / 2.719 GB, free: 257.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008863/5.108, allocations: 335.4 kB / 2.72 GB, free: 257.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/5.108, allocations: 2.969 kB / 2.72 GB, free: 257.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001511/5.11, allocations: 0.7651 MB / 2.72 GB, free: 257.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002423/5.11, allocations: 1.487 MB / 2.722 GB, free: 256.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/5.11, allocations: 6.656 kB / 2.722 GB, free: 256.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/5.111, allocations: 231.9 kB / 2.722 GB, free: 256.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004158/5.111, allocations: 111.3 kB / 2.722 GB, free: 256.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008601/5.112, allocations: 0.8848 MB / 2.723 GB, free: 255.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/5.113, allocations: 156.5 kB / 2.723 GB, free: 255.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.48e-05/5.113, allocations: 36.23 kB / 2.723 GB, free: 255.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-06/5.113, allocations: 3.781 kB / 2.723 GB, free: 255.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001381/5.115, allocations: 0.6311 MB / 2.724 GB, free: 255.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/5.115, allocations: 3.188 kB / 2.724 GB, free: 255.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/5.115, allocations: 239.3 kB / 2.724 GB, free: 255.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/5.116, allocations: 108.6 kB / 2.724 GB, free: 255.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008066/5.116, allocations: 0.8707 MB / 2.725 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009695/5.117, allocations: 139.6 kB / 2.725 GB, free: 255.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.879e-05/5.118, allocations: 31.72 kB / 2.725 GB, free: 255.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001395/5.118, allocations: 119.9 kB / 2.725 GB, free: 255 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/5.118, allocations: 100.1 kB / 2.725 GB, free: 254.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003233/5.121, allocations: 1.041 MB / 2.726 GB, free: 254.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/5.121, allocations: 3.25 kB / 2.726 GB, free: 254.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/5.121, allocations: 0 / 2.726 GB, free: 254.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/5.121, allocations: 7.609 kB / 2.726 GB, free: 254.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004127/5.125, allocations: 1.937 MB / 2.728 GB, free: 254.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/5.125, allocations: 3.281 kB / 2.728 GB, free: 254.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/5.125, allocations: 58.06 kB / 2.728 GB, free: 254.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000596/5.126, allocations: 254.3 kB / 2.729 GB, free: 254.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/5.126, allocations: 10.12 kB / 2.729 GB, free: 254.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009061/5.127, allocations: 0.918 MB / 2.729 GB, free: 253.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/5.127, allocations: 2.688 kB / 2.729 GB, free: 253.9 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003027/5.13, allocations: 1.203 MB / 2.731 GB, free: 253.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003408/5.13, allocations: 261.2 kB / 2.731 GB, free: 253.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/5.131, allocations: 3.969 kB / 2.731 GB, free: 253.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007973/5.131, allocations: 97.19 kB / 2.731 GB, free: 253.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/5.131, allocations: 29.03 kB / 2.731 GB, free: 253.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/5.131, allocations: 24.02 kB / 2.731 GB, free: 253.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.0006137/5.132, allocations: 0.5725 MB / 2.732 GB, free: 253.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001569/5.134, allocations: 0.6414 MB / 2.732 GB, free: 253.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/5.135, allocations: 0.6852 MB / 2.733 GB, free: 253 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001306/5.136, allocations: 0.772 MB / 2.734 GB, free: 253 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/5.136, allocations: 3.406 kB / 2.734 GB, free: 253 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004068/5.136, allocations: 253.6 kB / 2.734 GB, free: 253 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/5.138, allocations: 374.2 kB / 2.734 GB, free: 253 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/5.14, allocations: 1.352 MB / 2.736 GB, free: 252.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/5.141, allocations: 1.172 MB / 2.737 GB, free: 251.9 MB / 1.167 GB Notification: Performance of SimCode: time 2.8e-07/5.141, allocations: 0 / 2.737 GB, free: 251.9 MB / 1.167 GB Notification: Performance of Templates: time 0.03363/5.175, allocations: 25.43 MB / 2.762 GB, free: 251.5 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches