Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.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_9_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_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 112.9 kB / 16.42 MB, free: 6.441 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.001598/0.001598, allocations: 190.7 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.237/2.237, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 59.89 kB / 0.9516 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7022/0.7034, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1276/0.831, allocations: 126.1 MB / 1.212 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02186/0.8529, allocations: 15.44 MB / 1.227 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00291/0.8559, allocations: 74.09 kB / 1.227 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.8588, allocations: 0.9954 MB / 1.228 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007959/0.8668, allocations: 2.726 MB / 1.231 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005959/0.8728, allocations: 2.142 MB / 1.233 GB, free: 7.723 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.006522/0.8793, allocations: 4.799 MB / 1.237 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002845/0.8822, allocations: 1.712 MB / 1.239 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004503/0.8867, allocations: 1.875 MB / 1.241 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002535/0.8892, allocations: 1.336 MB / 1.242 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0005939/0.8898, allocations: 204 kB / 1.242 GB, free: 448 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004947/0.8948, allocations: 2.044 MB / 1.244 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007302/0.8955, allocations: 0.4945 MB / 1.245 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001746/0.8973, allocations: 1.081 MB / 1.246 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006049/0.9034, allocations: 3.695 MB / 1.25 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.9034, allocations: 0 / 1.25 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.527e-06/0.9034, allocations: 4 kB / 1.25 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.431e-05/0.9035, allocations: 0 / 1.25 GB, free: 9.102 MB / 0.9825 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.004735/0.9082, allocations: 2.455 MB / 1.252 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.9083, allocations: 12.03 kB / 1.252 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005775/0.914, allocations: 0.7121 MB / 1.253 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002867/0.9169, allocations: 1.689 MB / 1.254 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.9171, allocations: 132.1 kB / 1.254 GB, free: 3.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.9173, allocations: 128 kB / 1.255 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/0.9213, allocations: 1.731 MB / 1.256 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.808e-05/0.9213, allocations: 4 kB / 1.256 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/0.9215, allocations: 52 kB / 1.256 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-05/0.9215, allocations: 43.88 kB / 1.256 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004828/0.9264, allocations: 1.508 MB / 1.258 GB, free: 404 kB / 0.9825 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.00985/0.9362, allocations: 7.533 MB / 1.265 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004174/0.9404, allocations: 1.159 MB / 1.266 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/0.9425, allocations: 0.5844 MB / 1.267 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001255/0.9437, allocations: 1.275 MB / 1.268 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002322/0.9461, allocations: 0.7068 MB / 1.269 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=80): time 3.476e-06/0.9461, allocations: 0 / 1.269 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=80): time 0.01785/0.9639, allocations: 3.155 MB / 1.272 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.964, allocations: 145.2 kB / 1.272 GB, free: 1.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.9659, allocations: 1.29 MB / 1.273 GB, free: 15.77 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/0.966, allocations: 45.7 kB / 1.273 GB, free: 15.71 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006069/0.9667, allocations: 0.7307 MB / 1.274 GB, free: 14.98 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.9669, allocations: 276.1 kB / 1.274 GB, free: 14.7 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003869/0.9673, allocations: 222.4 kB / 1.274 GB, free: 14.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.9675, allocations: 341.9 kB / 1.275 GB, free: 14.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/0.9695, allocations: 0.5278 MB / 1.275 GB, free: 13.61 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002237/0.9718, allocations: 0.7983 MB / 1.276 GB, free: 12.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004017/0.9758, allocations: 1.229 MB / 1.277 GB, free: 11.39 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/0.9759, allocations: 4 kB / 1.277 GB, free: 11.38 MB / 1.014 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005376/0.9813, allocations: 1.652 MB / 1.279 GB, free: 9.719 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.9813, allocations: 12.12 kB / 1.279 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.9813, allocations: 8 kB / 1.279 GB, free: 9.699 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/0.9833, allocations: 0.5717 MB / 1.28 GB, free: 9.129 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.9847, allocations: 251.6 kB / 1.28 GB, free: 8.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.9867, allocations: 1.166 MB / 1.281 GB, free: 7.691 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.9886, allocations: 182.7 kB / 1.281 GB, free: 7.512 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.9887, allocations: 59.94 kB / 1.281 GB, free: 7.453 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002469/0.9912, allocations: 0.8307 MB / 1.282 GB, free: 6.621 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002136/0.9933, allocations: 0.7944 MB / 1.283 GB, free: 5.715 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003986/0.9973, allocations: 1.209 MB / 1.284 GB, free: 4.426 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.36e-06/0.9973, allocations: 0 / 1.284 GB, free: 4.426 MB / 1.014 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005343/1.003, allocations: 1.64 MB / 1.285 GB, free: 2.77 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/1.003, allocations: 14.12 kB / 1.285 GB, free: 2.758 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/1.003, allocations: 4 kB / 1.286 GB, free: 2.754 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001918/1.005, allocations: 0.5636 MB / 1.286 GB, free: 2.188 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/1.006, allocations: 251.5 kB / 1.286 GB, free: 1.941 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/1.008, allocations: 1.17 MB / 1.287 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/1.01, allocations: 159.3 kB / 1.288 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/1.01, allocations: 55.94 kB / 1.288 GB, free: 0.5352 MB / 1.014 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 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0003733/1.01, allocations: 250.7 kB / 1.288 GB, free: 292 kB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004359/1.011, allocations: 146.2 kB / 1.288 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01319/1.024, allocations: 2.123 MB / 1.29 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.013/1.037, allocations: 1.947 MB / 1.292 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/1.037, allocations: 3.938 kB / 1.292 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/1.038, allocations: 382.9 kB / 1.292 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004432/1.039, allocations: 23.98 kB / 1.292 GB, free: 11.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.041, allocations: 103.9 kB / 1.292 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/1.041, allocations: 48.58 kB / 1.293 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008098/1.049, allocations: 1.749 MB / 1.294 GB, free: 9.695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006902/1.056, allocations: 2.081 MB / 1.296 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002012/1.058, allocations: 0.5402 MB / 1.297 GB, free: 7.051 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001514/1.059, allocations: 0.8829 MB / 1.298 GB, free: 6.168 MB / 1.029 GB Notification: Performance of Backend: time 5.61e-07/1.059, allocations: 4 kB / 1.298 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.009164/1.069, allocations: 2.643 MB / 1.3 GB, free: 3.727 MB / 1.029 GB Notification: Performance of SimCode: time 0.006892/1.075, allocations: 3.567 MB / 1.304 GB, free: 124 kB / 1.029 GB Notification: Performance of Templates: time 0.0703/1.146, allocations: 45.79 MB / 1.348 GB, free: 2.715 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Calibration_ScrollWaterToWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches