Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 116.6 kB / 16.42 MB, free: 6.512 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.001213/0.001213, allocations: 186.5 kB / 17.35 MB, free: 5.754 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7924/0.7939, allocations: 151.6 MB / 1.167 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06085/0.8548, allocations: 62.65 MB / 1.228 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.019/0.8738, allocations: 13.65 MB / 1.242 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002728/0.8766, allocations: 63.62 kB / 1.242 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003239/0.8799, allocations: 0.9823 MB / 1.243 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007329/0.8873, allocations: 2.497 MB / 1.245 GB, free: 3.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004699/0.892, allocations: 1.646 MB / 1.247 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007299/0.8993, allocations: 4.291 MB / 1.251 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003231/0.9025, allocations: 1.41 MB / 1.252 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004221/0.9068, allocations: 1.684 MB / 1.254 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002356/0.9092, allocations: 1.292 MB / 1.255 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006143/0.9098, allocations: 176 kB / 1.256 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/0.9134, allocations: 1.419 MB / 1.257 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007528/0.9142, allocations: 0.5023 MB / 1.257 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.916, allocations: 1.015 MB / 1.258 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005593/0.9216, allocations: 3.181 MB / 1.261 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.9217, allocations: 0 / 1.261 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9217, allocations: 0 / 1.261 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.587e-05/0.9218, allocations: 0 / 1.261 GB, free: 3.242 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005374/0.9271, allocations: 2.409 MB / 1.264 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.9272, allocations: 11.97 kB / 1.264 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/0.9288, allocations: 327.5 kB / 1.264 GB, free: 448 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/0.9317, allocations: 1.48 MB / 1.266 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/0.9319, allocations: 161.5 kB / 1.266 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.9321, allocations: 108 kB / 1.266 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/0.9352, allocations: 1.438 MB / 1.267 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.9352, allocations: 3.938 kB / 1.267 GB, free: 13.1 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/0.9354, allocations: 48 kB / 1.267 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.9354, allocations: 35.98 kB / 1.267 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003304/0.9387, allocations: 1.339 MB / 1.269 GB, free: 11.68 MB / 0.9981 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.008797/0.9475, allocations: 6.645 MB / 1.275 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.9497, allocations: 1.173 MB / 1.276 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.951, allocations: 0.5649 MB / 1.277 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007892/0.9518, allocations: 1.149 MB / 1.278 GB, free: 1.363 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.9519, allocations: 43.22 kB / 1.278 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 2.755e-06/0.9519, allocations: 0 / 1.278 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of matching and sorting (n=77): time 0.004276/0.9562, allocations: 1.594 MB / 1.28 GB, free: 15.71 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.9563, allocations: 111.5 kB / 1.28 GB, free: 15.58 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/0.9583, allocations: 1.405 MB / 1.281 GB, free: 14.16 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.9585, allocations: 49.7 kB / 1.281 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005832/0.9591, allocations: 0.733 MB / 1.282 GB, free: 13.37 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.9593, allocations: 273.6 kB / 1.282 GB, free: 13.1 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003227/0.9597, allocations: 174.6 kB / 1.282 GB, free: 12.92 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.9598, allocations: 345.8 kB / 1.283 GB, free: 12.58 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.9611, allocations: 0.4927 MB / 1.283 GB, free: 12.08 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001467/0.9626, allocations: 0.7191 MB / 1.284 GB, free: 11.27 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/0.9651, allocations: 1.129 MB / 1.285 GB, free: 10.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.9652, allocations: 4 kB / 1.285 GB, free: 10.07 MB / 1.014 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003375/0.9685, allocations: 1.359 MB / 1.286 GB, free: 8.707 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.9686, allocations: 11.98 kB / 1.286 GB, free: 8.695 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.9686, allocations: 4 kB / 1.286 GB, free: 8.691 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.9686, allocations: 12 kB / 1.286 GB, free: 8.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.9699, allocations: 272 kB / 1.286 GB, free: 8.414 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/0.9699, allocations: 11.94 kB / 1.286 GB, free: 8.402 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.9712, allocations: 163.2 kB / 1.287 GB, free: 8.242 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.9713, allocations: 43.92 kB / 1.287 GB, free: 8.199 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00176/0.9731, allocations: 0.7946 MB / 1.287 GB, free: 7.398 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001419/0.9745, allocations: 0.7191 MB / 1.288 GB, free: 6.59 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002528/0.977, allocations: 1.121 MB / 1.289 GB, free: 5.41 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.479e-06/0.977, allocations: 0 / 1.289 GB, free: 5.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.003366/0.9804, allocations: 1.359 MB / 1.291 GB, free: 4.039 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.9804, allocations: 4 kB / 1.291 GB, free: 4.035 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.9805, allocations: 8.562 kB / 1.291 GB, free: 4.027 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.9805, allocations: 12 kB / 1.291 GB, free: 4.016 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.9817, allocations: 267.6 kB / 1.291 GB, free: 3.754 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.9817, allocations: 11.94 kB / 1.291 GB, free: 3.742 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.983, allocations: 143.4 kB / 1.291 GB, free: 3.602 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.766e-05/0.9831, allocations: 43.92 kB / 1.291 GB, free: 3.559 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003068/0.9835, allocations: 240 kB / 1.291 GB, free: 3.316 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004183/0.9839, allocations: 155 kB / 1.291 GB, free: 3.164 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.9873, allocations: 1.47 MB / 1.293 GB, free: 1.664 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00256/0.9899, allocations: 1.109 MB / 1.294 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.9899, allocations: 0 / 1.294 GB, free: 0.5234 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000718/0.9906, allocations: 367.7 kB / 1.294 GB, free: 148 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/0.991, allocations: 19.94 kB / 1.294 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/0.9922, allocations: 103.8 kB / 1.294 GB, free: 24 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002122/0.9924, allocations: 68.56 kB / 1.294 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003568/0.996, allocations: 1.278 MB / 1.296 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004663/1.001, allocations: 2.058 MB / 1.298 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001346/1.002, allocations: 0.5517 MB / 1.298 GB, free: 12.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.00166/1.004, allocations: 0.9905 MB / 1.299 GB, free: 11.05 MB / 1.029 GB Notification: Performance of Backend: time 3.21e-07/1.004, allocations: 0 / 1.299 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005763/1.01, allocations: 1.877 MB / 1.301 GB, free: 9.184 MB / 1.029 GB Notification: Performance of SimCode: time 0.006427/1.016, allocations: 3.387 MB / 1.304 GB, free: 5.75 MB / 1.029 GB Notification: Performance of Templates: time 0.05915/1.075, allocations: 37.97 MB / 1.341 GB, free: 104 kB / 1.061 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches