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.00145/0.00145, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001707/0.001707, allocations: 192.7 kB / 16.14 MB, free: 6.711 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.325/1.325, allocations: 222.9 MB / 239.8 MB, free: 4.648 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.275/2.275, allocations: 390.2 MB / 0.6642 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 59.91 kB / 0.8118 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6265/0.6278, allocations: 140.4 MB / 0.9489 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002901/0.6307, allocations: 2.428 MB / 0.9513 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.6322, allocations: 1.386 MB / 0.9526 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.6323, allocations: 3.438 kB / 0.9526 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004859/0.6328, allocations: 192.8 kB / 0.9528 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.6329, allocations: 66.06 kB / 0.9529 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.6332, allocations: 105.5 kB / 0.953 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000251/0.6334, allocations: 318.8 kB / 0.9533 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.6336, allocations: 49.73 kB / 0.9533 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001607/0.6337, allocations: 120.3 kB / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.6339, allocations: 183.8 kB / 0.9536 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.827e-05/0.634, allocations: 21.81 kB / 0.9537 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.6341, allocations: 54.56 kB / 0.9537 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.722e-05/0.6342, allocations: 111.5 kB / 0.9538 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.6344, allocations: 170.4 kB / 0.954 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.6347, allocations: 480.1 kB / 0.9544 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6347, allocations: 1.281 kB / 0.9544 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6347, allocations: 0 / 0.9544 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.6347, allocations: 0 / 0.9544 GB, free: 4.914 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.001052/0.6358, allocations: 0.7082 MB / 0.9551 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.6358, allocations: 8.656 kB / 0.9551 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008507/0.6367, allocations: 146.6 kB / 0.9553 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.637, allocations: 356.3 kB / 0.9556 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.818e-05/0.6371, allocations: 82.44 kB / 0.9557 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.6372, allocations: 13.53 kB / 0.9557 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006862/0.6379, allocations: 306.9 kB / 0.956 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.6379, allocations: 1.062 kB / 0.956 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.6379, allocations: 13.09 kB / 0.956 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.6379, allocations: 2.031 kB / 0.956 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.639, allocations: 417.6 kB / 0.9564 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/0.6404, allocations: 0.851 MB / 0.9572 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.641, allocations: 268.9 kB / 0.9575 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005137/0.6415, allocations: 215.7 kB / 0.9577 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.6416, allocations: 3.062 kB / 0.9577 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.179e-05/0.6416, allocations: 35.94 kB / 0.9577 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.763e-06/0.6416, allocations: 0 / 0.9577 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001654/0.6433, allocations: 0.6523 MB / 0.9584 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.008e-05/0.6433, allocations: 58 kB / 0.9584 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000407/0.6437, allocations: 421.7 kB / 0.9588 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.6437, allocations: 30.77 kB / 0.9589 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.6438, allocations: 186 kB / 0.959 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.363e-05/0.6439, allocations: 62.62 kB / 0.9591 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.644, allocations: 43.91 kB / 0.9591 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.638e-05/0.6441, allocations: 343.6 kB / 0.9595 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005115/0.6446, allocations: 196 kB / 0.9597 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005247/0.6451, allocations: 231.9 kB / 0.9599 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009679/0.6461, allocations: 365.8 kB / 0.9602 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.6461, allocations: 4 kB / 0.9602 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001114/0.6472, allocations: 464.6 kB / 0.9607 GB, free: 416 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6473, allocations: 6.812 kB / 0.9607 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.6473, allocations: 0 / 0.9607 GB, free: 416 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.6473, allocations: 5.281 kB / 0.9607 GB, free: 412 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.6478, allocations: 63.27 kB / 0.9607 GB, free: 388 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.6478, allocations: 3.938 kB / 0.9608 GB, free: 384 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.6481, allocations: 43.06 kB / 0.9608 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.6482, allocations: 11.94 kB / 0.9608 GB, free: 352 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.0001548/0.6483, allocations: 166.1 kB / 0.961 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.6484, allocations: 34.83 kB / 0.961 GB, free: 180 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.6485, allocations: 40.59 kB / 0.961 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.6485, allocations: 2.406 kB / 0.961 GB, free: 148 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.6485, allocations: 3.938 kB / 0.961 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.6485, allocations: 0 / 0.961 GB, free: 144 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.649, allocations: 479.1 kB / 0.9615 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.649, allocations: 0 / 0.9615 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.6495, allocations: 68.11 kB / 0.9616 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6495, allocations: 7.938 kB / 0.9616 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.6495, allocations: 9.5 kB / 0.9616 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.6495, allocations: 1.5 kB / 0.9616 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6496, allocations: 3.938 kB / 0.9616 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.6508, allocations: 0.5521 MB / 0.9621 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-05/0.6509, allocations: 110.8 kB / 0.9622 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.651, allocations: 6.281 kB / 0.9622 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/0.6513, allocations: 35.81 kB / 0.9623 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.6514, allocations: 24.97 kB / 0.9623 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.6515, allocations: 4.938 kB / 0.9623 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003211/0.6518, allocations: 314.6 kB / 0.9626 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6518, allocations: 0.9062 kB / 0.9626 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003392/0.6522, allocations: 61.97 kB / 0.9627 GB, free: 14.96 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.0001333/0.6523, allocations: 105.7 kB / 0.9628 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001172/0.6535, allocations: 438.7 kB / 0.9632 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6535, allocations: 1.031 kB / 0.9632 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005769/0.6541, allocations: 227.2 kB / 0.9634 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.6545, allocations: 54.34 kB / 0.9634 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.6559, allocations: 0.7556 MB / 0.9642 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.6563, allocations: 0.7894 MB / 0.965 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003026/0.6566, allocations: 65.06 kB / 0.965 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/0.6568, allocations: 29.2 kB / 0.965 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of SimCode: time 3.2e-07/0.6568, allocations: 0.8125 kB / 0.965 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.007792/0.6646, allocations: 4.041 MB / 0.969 GB, free: 11.21 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