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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.281/2.281, allocations: 390.5 MB / 398 MB, free: 10.94 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.001442/0.001442, allocations: 184.8 kB / 491.2 MB, free: 1.547 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.637/1.637, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.00104/0.00104, allocations: 99.45 kB / 0.9269 GB, free: 13.74 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.666e-05/1.668e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3398, allocations: 143 MB / 1.212 GB, free: 39.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.309/1.648, allocations: 434.7 MB / 1.637 GB, free: 12.51 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/1.649, allocations: 92.81 kB / 1.637 GB, free: 12.46 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.789/6.438, allocations: 1.063 GB / 2.7 GB, free: 250.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.543e-06/6.438, allocations: 4.906 kB / 2.7 GB, free: 250.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002304/6.438, allocations: 34.36 kB / 2.7 GB, free: 250.4 MB / 1.151 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.004666/6.443, allocations: 1.492 MB / 2.702 GB, free: 249.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/6.443, allocations: 7.625 kB / 2.702 GB, free: 249.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/6.445, allocations: 354 kB / 2.702 GB, free: 249.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003435/6.448, allocations: 1.257 MB / 2.703 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000352/6.449, allocations: 100.3 kB / 2.703 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/6.449, allocations: 46.97 kB / 2.703 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001468/6.451, allocations: 0.6089 MB / 2.704 GB, free: 249.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/6.452, allocations: 0.7501 MB / 2.705 GB, free: 249.3 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/6.452, allocations: 3.625 kB / 2.705 GB, free: 249.3 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9e-05/6.452, allocations: 7.859 kB / 2.705 GB, free: 249.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.134e-05/6.452, allocations: 31.33 kB / 2.705 GB, free: 249.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.006923/6.459, allocations: 4.461 MB / 2.709 GB, free: 246.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008838/6.46, allocations: 432 kB / 2.709 GB, free: 246.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/6.46, allocations: 184 kB / 2.71 GB, free: 246.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/6.461, allocations: 1.365 MB / 2.711 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/6.461, allocations: 37.22 kB / 2.711 GB, free: 245.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 2.766e-06/6.461, allocations: 0 / 2.711 GB, free: 245.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.007666/6.469, allocations: 1.52 MB / 2.713 GB, free: 245.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/6.469, allocations: 59.08 kB / 2.713 GB, free: 245.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/6.471, allocations: 0.743 MB / 2.713 GB, free: 245 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/6.471, allocations: 30.73 kB / 2.713 GB, free: 245 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/6.471, allocations: 0.5405 MB / 2.714 GB, free: 244.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/6.472, allocations: 145.9 kB / 2.714 GB, free: 244.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.734e-05/6.472, allocations: 0 / 2.714 GB, free: 244.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.245e-05/6.472, allocations: 322.1 kB / 2.714 GB, free: 244.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/6.472, allocations: 163.3 kB / 2.714 GB, free: 244.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004149/6.472, allocations: 398.8 kB / 2.715 GB, free: 244.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00536/6.478, allocations: 1.022 MB / 2.716 GB, free: 244.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/6.478, allocations: 0 / 2.716 GB, free: 244.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.006372/6.484, allocations: 1.453 MB / 2.717 GB, free: 244.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003869/6.485, allocations: 1.486 MB / 2.719 GB, free: 242.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/6.485, allocations: 4.25 kB / 2.719 GB, free: 242.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007335/6.485, allocations: 235 kB / 2.719 GB, free: 242.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/6.486, allocations: 108.7 kB / 2.719 GB, free: 242.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/6.487, allocations: 0.8742 MB / 2.72 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/6.488, allocations: 149.6 kB / 2.72 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/6.489, allocations: 38.44 kB / 2.72 GB, free: 242 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/6.489, allocations: 7.125 kB / 2.72 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005846/6.494, allocations: 1.313 MB / 2.721 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/6.494, allocations: 5.75 kB / 2.721 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006098/6.495, allocations: 231.7 kB / 2.722 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/6.496, allocations: 112 kB / 2.722 GB, free: 242 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000981/6.497, allocations: 0.8648 MB / 2.723 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/6.498, allocations: 126.2 kB / 2.723 GB, free: 241.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.346e-05/6.498, allocations: 33.42 kB / 2.723 GB, free: 241.4 MB / 1.151 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.0002346/6.498, allocations: 123.1 kB / 2.723 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003492/6.499, allocations: 101.7 kB / 2.723 GB, free: 241.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007703/6.506, allocations: 1.664 MB / 2.725 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/6.506, allocations: 7.812 kB / 2.725 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/6.506, allocations: 0 / 2.725 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/6.506, allocations: 14.91 kB / 2.725 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009412/6.516, allocations: 2.595 MB / 2.727 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/6.516, allocations: 3.562 kB / 2.727 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/6.516, allocations: 56.77 kB / 2.727 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006579/6.517, allocations: 245 kB / 2.727 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/6.517, allocations: 11.05 kB / 2.727 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/6.518, allocations: 0.8971 MB / 2.728 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/6.518, allocations: 4.719 kB / 2.728 GB, free: 240.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007839/6.526, allocations: 1.856 MB / 2.73 GB, free: 239.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000781/6.527, allocations: 264.6 kB / 2.73 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003466/6.527, allocations: 6.25 kB / 2.73 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/6.528, allocations: 92.03 kB / 2.73 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/6.528, allocations: 32.44 kB / 2.73 GB, free: 239.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.587e-05/6.528, allocations: 31.39 kB / 2.73 GB, free: 239.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001172/6.529, allocations: 0.5713 MB / 2.731 GB, free: 239.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/6.529, allocations: 0 / 2.731 GB, free: 239.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002838/6.532, allocations: 0.6237 MB / 2.732 GB, free: 239.6 MB / 1.151 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.001686/6.534, allocations: 0.7044 MB / 2.732 GB, free: 239.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001775/6.536, allocations: 0.7622 MB / 2.733 GB, free: 239.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/6.536, allocations: 0 / 2.733 GB, free: 239.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004891/6.536, allocations: 254.4 kB / 2.733 GB, free: 239.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/6.538, allocations: 386.1 kB / 2.734 GB, free: 239.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/6.542, allocations: 1.296 MB / 2.735 GB, free: 238.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007081/6.542, allocations: 1.088 MB / 2.736 GB, free: 238.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001397/6.544, allocations: 233.1 kB / 2.736 GB, free: 238.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/6.544, allocations: 57.78 kB / 2.736 GB, free: 238.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.142e-06/6.544, allocations: 0 / 2.736 GB, free: 238.2 MB / 1.151 GB Notification: Performance of Templates: time 0.03979/6.584, allocations: 23.27 MB / 2.759 GB, free: 237.4 MB / 1.151 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