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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 100.2 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.001467/0.001467, allocations: 177.3 kB / 15.95 MB, free: 216 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.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.637/2.637, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.0003709, allocations: 8 kB / 0.8708 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8169/0.8172, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.0485/0.8658, allocations: 51.34 MB / 1.071 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01397/0.8798, allocations: 10.32 MB / 1.081 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.8816, allocations: 51.62 kB / 1.081 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00197/0.8836, allocations: 0.6297 MB / 1.082 GB, free: 2.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005708/0.8893, allocations: 1.951 MB / 1.084 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.893, allocations: 1.301 MB / 1.085 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003392/0.8964, allocations: 1.855 MB / 1.087 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.8976, allocations: 0.8076 MB / 1.087 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/0.8996, allocations: 0.9769 MB / 1.088 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008375/0.9004, allocations: 0.5949 MB / 1.089 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000103/0.9005, allocations: 44 kB / 1.089 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.9027, allocations: 1.03 MB / 1.09 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.9029, allocations: 191.2 kB / 1.09 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002786/0.9031, allocations: 289 kB / 1.091 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.9049, allocations: 1.59 MB / 1.092 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.9049, allocations: 0 / 1.092 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9049, allocations: 0 / 1.092 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.9049, allocations: 4 kB / 1.092 GB, free: 7.965 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.002473/0.9074, allocations: 1.505 MB / 1.094 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.9074, allocations: 8.031 kB / 1.094 GB, free: 6.395 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.9091, allocations: 378 kB / 1.094 GB, free: 6.023 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.911, allocations: 1.055 MB / 1.095 GB, free: 4.91 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.9114, allocations: 129.9 kB / 1.095 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.9115, allocations: 80 kB / 1.095 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.9133, allocations: 0.9583 MB / 1.096 GB, free: 3.703 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.9134, allocations: 4 kB / 1.096 GB, free: 3.699 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.723e-05/0.9135, allocations: 32 kB / 1.096 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.9135, allocations: 16 kB / 1.096 GB, free: 3.652 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.9155, allocations: 0.847 MB / 1.097 GB, free: 2.809 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.006171/0.9217, allocations: 4.831 MB / 1.102 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.9232, allocations: 0.6139 MB / 1.102 GB, free: 13 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001353/0.9246, allocations: 1.396 MB / 1.104 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.9247, allocations: 38.56 kB / 1.104 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 2.485e-06/0.9247, allocations: 0 / 1.104 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.005987/0.9307, allocations: 1.673 MB / 1.105 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.9307, allocations: 55.41 kB / 1.105 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.9323, allocations: 1.071 MB / 1.106 GB, free: 8.402 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.344e-05/0.9324, allocations: 37.7 kB / 1.106 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/0.9328, allocations: 0.5119 MB / 1.107 GB, free: 7.844 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.9329, allocations: 161.7 kB / 1.107 GB, free: 7.684 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.933, allocations: 12 kB / 1.107 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.9331, allocations: 326 kB / 1.107 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/0.9339, allocations: 284.9 kB / 1.108 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009401/0.9348, allocations: 487.7 kB / 1.108 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007824/0.9356, allocations: 327.7 kB / 1.108 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.9356, allocations: 0 / 1.108 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002425/0.938, allocations: 0.9726 MB / 1.109 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.000599/0.9387, allocations: 1.493 MB / 1.111 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.9387, allocations: 8 kB / 1.111 GB, free: 3.602 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.94, allocations: 331.5 kB / 1.111 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000471/0.9405, allocations: 123.8 kB / 1.111 GB, free: 3.156 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.9421, allocations: 0.9387 MB / 1.112 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/0.9434, allocations: 179.2 kB / 1.112 GB, free: 2.016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.856e-05/0.9435, allocations: 27.98 kB / 1.112 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.9435, allocations: 4 kB / 1.112 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002125/0.9456, allocations: 0.8438 MB / 1.113 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.9457, allocations: 8.031 kB / 1.113 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.9467, allocations: 324.6 kB / 1.114 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.9472, allocations: 123.8 kB / 1.114 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.9486, allocations: 0.9296 MB / 1.115 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.9497, allocations: 163.4 kB / 1.115 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.9498, allocations: 24 kB / 1.115 GB, free: 15.55 MB / 0.8731 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 () * 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.0005572/0.9504, allocations: 352.9 kB / 1.115 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.9506, allocations: 110.6 kB / 1.115 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.9527, allocations: 0.9399 MB / 1.116 GB, free: 14.13 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/0.9528, allocations: 15.92 kB / 1.116 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.9528, allocations: 0 / 1.116 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.9528, allocations: 0 / 1.116 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005663/0.9585, allocations: 2.339 MB / 1.118 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/0.9585, allocations: 4 kB / 1.118 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.9587, allocations: 60.19 kB / 1.118 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.9598, allocations: 328.6 kB / 1.119 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.9598, allocations: 16 kB / 1.119 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001465/0.9613, allocations: 0.9704 MB / 1.12 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.9613, allocations: 4.031 kB / 1.12 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004259/0.9656, allocations: 1.475 MB / 1.121 GB, free: 8.723 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000616/0.9662, allocations: 287.4 kB / 1.121 GB, free: 8.422 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.9663, allocations: 16 kB / 1.121 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000825/0.9672, allocations: 103.8 kB / 1.122 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/0.9673, allocations: 43.84 kB / 1.122 GB, free: 8.262 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.928e-05/0.9673, allocations: 23.98 kB / 1.122 GB, free: 8.238 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001181/0.9685, allocations: 0.7508 MB / 1.122 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9685, allocations: 0 / 1.122 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001565/0.9701, allocations: 0.577 MB / 1.123 GB, free: 6.902 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 (34): * Single equations (assignments): 29 * 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.0007297/0.9708, allocations: 401 kB / 1.123 GB, free: 6.512 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002717/0.9736, allocations: 1.05 MB / 1.124 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.9736, allocations: 0 / 1.124 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007515/0.9743, allocations: 340.3 kB / 1.125 GB, free: 5.129 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.9766, allocations: 498.2 kB / 1.125 GB, free: 4.645 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.9804, allocations: 2.231 MB / 1.127 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/0.9811, allocations: 1.089 MB / 1.128 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0009112/0.982, allocations: 224.6 kB / 1.129 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.9822, allocations: 79.42 kB / 1.129 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of SimCode: time 8.22e-07/0.9822, allocations: 0 / 1.129 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of Templates: time 0.04555/1.028, allocations: 23.56 MB / 1.152 GB, free: 9.652 MB / 0.9044 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