Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.m1_flow|heaPum.m2_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.m1_flow|heaPum.m2_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.301/2.301, allocations: 393.5 MB / 408.5 MB, free: 11.04 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.001335/0.001335, allocations: 176 kB / 0.4902 GB, free: 2.297 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.691/1.691, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001061/0.001061, allocations: 101.1 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.0003881, allocations: 6.969 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.359, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.168/1.527, allocations: 440.5 MB / 1.659 GB, free: 5.93 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/1.528, allocations: 100.1 kB / 1.659 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.866/3.394, allocations: 0.5685 GB / 2.228 GB, free: 94.36 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.156e-06/3.394, allocations: 4 kB / 2.228 GB, free: 94.36 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003106/3.394, allocations: 43.98 kB / 2.228 GB, free: 94.31 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: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.007756/3.402, allocations: 2.256 MB / 2.23 GB, free: 91.99 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/3.402, allocations: 8.828 kB / 2.23 GB, free: 91.98 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005665/3.407, allocations: 0.6846 MB / 2.231 GB, free: 91.29 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005662/3.413, allocations: 1.885 MB / 2.233 GB, free: 89.35 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/3.413, allocations: 132.1 kB / 2.233 GB, free: 89.21 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005238/3.414, allocations: 124 kB / 2.233 GB, free: 89.09 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005361/3.419, allocations: 1.733 MB / 2.235 GB, free: 87.25 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/3.419, allocations: 11.92 kB / 2.235 GB, free: 87.24 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002906/3.42, allocations: 51.95 kB / 2.235 GB, free: 87.19 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.228e-05/3.42, allocations: 50.3 kB / 2.235 GB, free: 87.14 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005224/3.425, allocations: 1.543 MB / 2.236 GB, free: 85.59 MB / 1.167 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.0126/3.438, allocations: 7.513 MB / 2.244 GB, free: 77.71 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004135/3.442, allocations: 1.231 MB / 2.245 GB, free: 76.46 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00126/3.443, allocations: 1.275 MB / 2.246 GB, free: 74.91 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002311/3.445, allocations: 0.7225 MB / 2.247 GB, free: 74.17 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 4.439e-06/3.445, allocations: 0 / 2.247 GB, free: 74.17 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.02192/3.467, allocations: 3.581 MB / 2.25 GB, free: 70.56 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/3.468, allocations: 162.9 kB / 2.25 GB, free: 70.36 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/3.469, allocations: 1.192 MB / 2.252 GB, free: 69.16 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002476/3.47, allocations: 45.7 kB / 2.252 GB, free: 69.11 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/3.47, allocations: 0.7309 MB / 2.252 GB, free: 68.37 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/3.471, allocations: 284.1 kB / 2.253 GB, free: 68.09 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.883e-05/3.471, allocations: 16 kB / 2.253 GB, free: 68.07 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.045e-05/3.471, allocations: 341.9 kB / 2.253 GB, free: 67.73 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001859/3.473, allocations: 0.5367 MB / 2.253 GB, free: 67.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/3.475, allocations: 0.853 MB / 2.254 GB, free: 66.21 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001862/3.476, allocations: 0.5986 MB / 2.255 GB, free: 65.62 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/3.476, allocations: 0 / 2.255 GB, free: 65.62 MB / 1.167 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005027/3.481, allocations: 1.688 MB / 2.257 GB, free: 63.92 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004907/3.482, allocations: 2.412 MB / 2.259 GB, free: 61.37 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/3.482, allocations: 4 kB / 2.259 GB, free: 61.37 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001825/3.484, allocations: 0.5798 MB / 2.259 GB, free: 60.79 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/3.485, allocations: 255.6 kB / 2.26 GB, free: 60.54 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/3.487, allocations: 1.177 MB / 2.261 GB, free: 59.33 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/3.489, allocations: 246.8 kB / 2.261 GB, free: 59.09 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/3.49, allocations: 55.95 kB / 2.261 GB, free: 59.04 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/3.49, allocations: 9.547 kB / 2.261 GB, free: 59.03 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004614/3.494, allocations: 1.5 MB / 2.263 GB, free: 57.52 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/3.494, allocations: 8 kB / 2.263 GB, free: 57.52 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00168/3.496, allocations: 0.571 MB / 2.263 GB, free: 56.94 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/3.497, allocations: 239.6 kB / 2.263 GB, free: 56.71 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/3.499, allocations: 1.182 MB / 2.265 GB, free: 55.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002378/3.501, allocations: 223 kB / 2.265 GB, free: 55.28 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001197/3.502, allocations: 59.94 kB / 2.265 GB, free: 55.22 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001062/3.503, allocations: 479 kB / 2.265 GB, free: 54.75 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/3.503, allocations: 154.2 kB / 2.265 GB, free: 54.59 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/3.508, allocations: 1.669 MB / 2.267 GB, free: 52.91 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/3.508, allocations: 15.95 kB / 2.267 GB, free: 52.89 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/3.508, allocations: 0 / 2.267 GB, free: 52.89 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00413/3.512, allocations: 1.45 MB / 2.268 GB, free: 51.41 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008039/3.52, allocations: 3.329 MB / 2.272 GB, free: 48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/3.52, allocations: 0 / 2.272 GB, free: 48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/3.521, allocations: 187.8 kB / 2.272 GB, free: 47.81 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/3.523, allocations: 0.5668 MB / 2.272 GB, free: 47.24 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.786e-05/3.523, allocations: 35.95 kB / 2.273 GB, free: 47.21 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/3.525, allocations: 1.162 MB / 2.274 GB, free: 46.02 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/3.525, allocations: 3.938 kB / 2.274 GB, free: 46.02 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004833/3.53, allocations: 1.715 MB / 2.275 GB, free: 44.24 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/3.531, allocations: 422.9 kB / 2.276 GB, free: 43.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/3.531, allocations: 20 kB / 2.276 GB, free: 43.79 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/3.533, allocations: 171.7 kB / 2.276 GB, free: 43.62 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/3.533, allocations: 52.52 kB / 2.276 GB, free: 43.57 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/3.533, allocations: 51.94 kB / 2.276 GB, free: 43.52 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00133/3.535, allocations: 0.9338 MB / 2.277 GB, free: 42.58 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.2e-07/3.535, allocations: 4 kB / 2.277 GB, free: 42.58 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003217/3.538, allocations: 1.064 MB / 2.278 GB, free: 41.51 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.00248/3.54, allocations: 1.229 MB / 2.279 GB, free: 40.47 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006824/3.547, allocations: 2.078 MB / 2.281 GB, free: 38.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 8.537e-06/3.547, allocations: 0 / 2.281 GB, free: 38.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/3.549, allocations: 0.6634 MB / 2.282 GB, free: 37.73 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/3.553, allocations: 0.7576 MB / 2.283 GB, free: 36.98 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005921/3.559, allocations: 3.289 MB / 2.286 GB, free: 33.66 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/3.559, allocations: 1.305 MB / 2.287 GB, free: 32.32 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002051/3.562, allocations: 384 kB / 2.287 GB, free: 31.95 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/3.562, allocations: 143.3 kB / 2.288 GB, free: 31.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.303e-06/3.562, allocations: 0 / 2.288 GB, free: 31.8 MB / 1.167 GB Notification: Performance of Templates: time 0.672/4.234, allocations: 41.71 MB / 2.328 GB, free: 245 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches