Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.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 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.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.414/1.414, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.349/2.349, allocations: 390.2 MB / 0.6646 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 63.91 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7203/0.7217, allocations: 140.4 MB / 0.9496 GB, free: 9.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002964/0.7247, allocations: 2.373 MB / 0.9519 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.7263, allocations: 1.406 MB / 0.9533 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.7264, allocations: 1.562 kB / 0.9533 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000485/0.7269, allocations: 206.3 kB / 0.9535 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.727, allocations: 72.95 kB / 0.9535 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.7273, allocations: 123.4 kB / 0.9537 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.7276, allocations: 321 kB / 0.954 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.7277, allocations: 54.77 kB / 0.954 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.7279, allocations: 130.2 kB / 0.9541 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.7281, allocations: 186.5 kB / 0.9543 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.437e-05/0.7282, allocations: 31.75 kB / 0.9543 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001536/0.7283, allocations: 72.72 kB / 0.9544 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.7284, allocations: 116.9 kB / 0.9545 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001211/0.7286, allocations: 176.7 kB / 0.9547 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.7289, allocations: 493.3 kB / 0.9552 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7289, allocations: 3.984 kB / 0.9552 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7289, allocations: 0 / 0.9552 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.729, allocations: 0 / 0.9552 GB, free: 4.812 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00105/0.73, allocations: 0.6996 MB / 0.9559 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.7301, allocations: 14.33 kB / 0.9559 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008701/0.7309, allocations: 146 kB / 0.956 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.7313, allocations: 352.8 kB / 0.9563 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.459e-05/0.7314, allocations: 82.06 kB / 0.9564 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.7314, allocations: 13.12 kB / 0.9564 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006928/0.7321, allocations: 304.3 kB / 0.9567 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.7322, allocations: 0 / 0.9567 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.7322, allocations: 4.969 kB / 0.9567 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.7322, allocations: 4 kB / 0.9567 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.7333, allocations: 421.3 kB / 0.9571 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001401/0.7347, allocations: 0.8502 MB / 0.958 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/0.7353, allocations: 279.9 kB / 0.9582 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00052/0.7358, allocations: 216.5 kB / 0.9584 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.7359, allocations: 6.5 kB / 0.9584 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.7359, allocations: 35.44 kB / 0.9585 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.443e-06/0.7359, allocations: 1.156 kB / 0.9585 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001747/0.7377, allocations: 0.6525 MB / 0.9591 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.7377, allocations: 57.5 kB / 0.9592 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.7381, allocations: 421.7 kB / 0.9596 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.7382, allocations: 30.92 kB / 0.9596 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.552e-05/0.7383, allocations: 178.3 kB / 0.9598 GB, free: 1.426 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.7383, allocations: 62.16 kB / 0.9598 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.7384, allocations: 43.58 kB / 0.9599 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.7385, allocations: 344.9 kB / 0.9602 GB, free: 1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005335/0.7391, allocations: 196.2 kB / 0.9604 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005394/0.7396, allocations: 231.3 kB / 0.9606 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009957/0.7406, allocations: 370.2 kB / 0.961 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7406, allocations: 0 / 0.961 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001146/0.7418, allocations: 464.2 kB / 0.9614 GB, free: 320 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.7418, allocations: 9.328 kB / 0.9614 GB, free: 316 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.7418, allocations: 4 kB / 0.9614 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.7418, allocations: 1.094 kB / 0.9614 GB, free: 312 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.7423, allocations: 55.53 kB / 0.9615 GB, free: 296 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.7423, allocations: 9.062 kB / 0.9615 GB, free: 288 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/0.7427, allocations: 45.75 kB / 0.9615 GB, free: 260 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.7427, allocations: 4.938 kB / 0.9615 GB, free: 260 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001452/0.7429, allocations: 169 kB / 0.9617 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/0.7429, allocations: 35.16 kB / 0.9617 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.743, allocations: 44.09 kB / 0.9618 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.743, allocations: 6.391 kB / 0.9618 GB, free: 44 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.743, allocations: 3.938 kB / 0.9618 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.743, allocations: 1.094 kB / 0.9618 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005331/0.7436, allocations: 471.4 kB / 0.9622 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.7436, allocations: 0 / 0.9622 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.744, allocations: 63.33 kB / 0.9623 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.744, allocations: 4.031 kB / 0.9623 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.987e-05/0.7441, allocations: 10.8 kB / 0.9623 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.7441, allocations: 3.938 kB / 0.9623 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.7441, allocations: 3.938 kB / 0.9623 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.7454, allocations: 0.5496 MB / 0.9628 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.176e-05/0.7455, allocations: 115.4 kB / 0.963 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.7456, allocations: 5.094 kB / 0.963 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003657/0.7459, allocations: 32.98 kB / 0.963 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.746, allocations: 25.19 kB / 0.963 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.954e-05/0.7461, allocations: 16.23 kB / 0.963 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003401/0.7464, allocations: 306.9 kB / 0.9633 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.01e-07/0.7464, allocations: 1.125 kB / 0.9633 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003489/0.7468, allocations: 61.5 kB / 0.9634 GB, free: 14.87 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.0001254/0.7469, allocations: 113.7 kB / 0.9635 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.7482, allocations: 450.2 kB / 0.9639 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7482, allocations: 0 / 0.9639 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006183/0.7488, allocations: 228.6 kB / 0.9641 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004221/0.7492, allocations: 48.3 kB / 0.9642 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.7506, allocations: 0.6814 MB / 0.9648 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003434/0.751, allocations: 0.7938 MB / 0.9656 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002822/0.7513, allocations: 59.86 kB / 0.9657 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.7514, allocations: 26.77 kB / 0.9657 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of SimCode: time 4.1e-07/0.7514, allocations: 0 / 0.9657 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of Templates: time 0.008858/0.7603, allocations: 4.252 MB / 0.9699 GB, free: 11.08 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches