Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.386/2.386, allocations: 390.5 MB / 398 MB, free: 10.98 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.001464/0.001465, allocations: 184 kB / 491.2 MB, free: 1.574 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.538/1.538, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009507/0.0009508, allocations: 90.14 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.83e-05/1.833e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3136, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.25/1.563, allocations: 434.8 MB / 1.637 GB, free: 12.41 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/1.564, allocations: 89.73 kB / 1.637 GB, free: 12.37 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.528/6.092, allocations: 1.063 GB / 2.7 GB, free: 251 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.434e-06/6.092, allocations: 0 / 2.7 GB, free: 251 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002169/6.092, allocations: 37.78 kB / 2.7 GB, free: 251 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.004453/6.097, allocations: 1.479 MB / 2.702 GB, free: 250.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/6.097, allocations: 9.219 kB / 2.702 GB, free: 250.4 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/6.099, allocations: 445.8 kB / 2.702 GB, free: 250.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004129/6.103, allocations: 1.296 MB / 2.704 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003861/6.104, allocations: 100.9 kB / 2.704 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002884/6.104, allocations: 50.78 kB / 2.704 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001626/6.106, allocations: 0.6364 MB / 2.704 GB, free: 250 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001717/6.108, allocations: 0.7632 MB / 2.705 GB, free: 249.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/6.108, allocations: 2.719 kB / 2.705 GB, free: 249.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.453e-05/6.108, allocations: 3.953 kB / 2.705 GB, free: 249.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/6.108, allocations: 34.88 kB / 2.705 GB, free: 249.8 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.007246/6.115, allocations: 4.547 MB / 2.709 GB, free: 247.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/6.117, allocations: 0.6814 MB / 2.71 GB, free: 247.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/6.118, allocations: 198.9 kB / 2.71 GB, free: 247.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005493/6.118, allocations: 0.9124 MB / 2.711 GB, free: 246.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/6.118, allocations: 37.31 kB / 2.711 GB, free: 246.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 2.946e-06/6.118, allocations: 0 / 2.711 GB, free: 246.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.002991/6.121, allocations: 0.7633 MB / 2.712 GB, free: 246.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/6.121, allocations: 59.27 kB / 2.712 GB, free: 246.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/6.123, allocations: 0.7399 MB / 2.713 GB, free: 246 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/6.123, allocations: 29.39 kB / 2.713 GB, free: 246 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/6.123, allocations: 0.5377 MB / 2.713 GB, free: 245.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/6.123, allocations: 146.8 kB / 2.713 GB, free: 245.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/6.124, allocations: 0 / 2.713 GB, free: 245.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.574e-05/6.124, allocations: 326.1 kB / 2.714 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/6.124, allocations: 175.7 kB / 2.714 GB, free: 245.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/6.124, allocations: 422.2 kB / 2.714 GB, free: 245.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007489/6.125, allocations: 259.4 kB / 2.715 GB, free: 245.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/6.125, allocations: 0 / 2.715 GB, free: 245.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003056/6.128, allocations: 0.9264 MB / 2.716 GB, free: 245.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004739/6.129, allocations: 1.578 MB / 2.717 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/6.129, allocations: 3.875 kB / 2.717 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007597/6.129, allocations: 235.4 kB / 2.717 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/6.13, allocations: 114.6 kB / 2.717 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/6.131, allocations: 0.8789 MB / 2.718 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/6.133, allocations: 172.4 kB / 2.718 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/6.133, allocations: 32 kB / 2.718 GB, free: 242.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/6.133, allocations: 4.906 kB / 2.718 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002786/6.136, allocations: 0.7847 MB / 2.719 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/6.136, allocations: 3.125 kB / 2.719 GB, free: 242.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/6.136, allocations: 233.9 kB / 2.719 GB, free: 242.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004632/6.137, allocations: 121.6 kB / 2.72 GB, free: 242.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008887/6.138, allocations: 0.8651 MB / 2.72 GB, free: 242.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/6.139, allocations: 138.3 kB / 2.721 GB, free: 242.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/6.139, allocations: 31.66 kB / 2.721 GB, free: 242.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.000228/6.139, allocations: 117.8 kB / 2.721 GB, free: 242.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/6.14, allocations: 103.4 kB / 2.721 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/6.143, allocations: 0.9145 MB / 2.722 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.406e-05/6.143, allocations: 7.844 kB / 2.722 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/6.143, allocations: 0 / 2.722 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/6.143, allocations: 3.656 kB / 2.722 GB, free: 242.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/6.147, allocations: 1.889 MB / 2.724 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/6.147, allocations: 0 / 2.724 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002646/6.148, allocations: 72.28 kB / 2.724 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000609/6.148, allocations: 243.9 kB / 2.724 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.165e-05/6.148, allocations: 19.78 kB / 2.724 GB, free: 241.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009193/6.149, allocations: 0.8969 MB / 2.725 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/6.149, allocations: 3.312 kB / 2.725 GB, free: 241.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002843/6.152, allocations: 1.11 MB / 2.726 GB, free: 240.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005788/6.153, allocations: 270.4 kB / 2.726 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002246/6.153, allocations: 7.562 kB / 2.726 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009665/6.154, allocations: 104.7 kB / 2.726 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/6.154, allocations: 29.67 kB / 2.726 GB, free: 240.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.358e-05/6.154, allocations: 30.98 kB / 2.726 GB, free: 240.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009957/6.155, allocations: 0.5745 MB / 2.727 GB, free: 240.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/6.155, allocations: 0 / 2.727 GB, free: 240.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002498/6.158, allocations: 0.6129 MB / 2.727 GB, free: 240.4 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.001607/6.159, allocations: 0.6777 MB / 2.728 GB, free: 240.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001836/6.161, allocations: 0.8078 MB / 2.729 GB, free: 240.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/6.161, allocations: 3.25 kB / 2.729 GB, free: 240.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005095/6.162, allocations: 268.9 kB / 2.729 GB, free: 240.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/6.164, allocations: 386.1 kB / 2.729 GB, free: 240.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/6.169, allocations: 1.534 MB / 2.731 GB, free: 239.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007431/6.17, allocations: 1.091 MB / 2.732 GB, free: 239.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001646/6.172, allocations: 230.1 kB / 2.732 GB, free: 239.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/6.172, allocations: 53.48 kB / 2.732 GB, free: 239.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.583e-06/6.172, allocations: 0 / 2.732 GB, free: 239.1 MB / 1.151 GB Notification: Performance of Templates: time 0.04053/6.212, allocations: 23.16 MB / 2.755 GB, free: 238.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches