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.001747/0.001747, allocations: 109.4 kB / 16.41 MB, free: 6.438 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.002011/0.002011, allocations: 189.6 kB / 17.34 MB, free: 5.742 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.18 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.274/2.274, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 67.89 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9267/0.9282, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003257/0.9315, allocations: 2.375 MB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001816/0.9333, allocations: 1.398 MB / 1.092 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.9334, allocations: 7.219 kB / 1.092 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005532/0.934, allocations: 205.9 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.9342, allocations: 72.2 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003469/0.9345, allocations: 124.8 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000405/0.9349, allocations: 330.9 kB / 1.093 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.9351, allocations: 50.78 kB / 1.093 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002314/0.9353, allocations: 133.1 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.9356, allocations: 182.2 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/0.9357, allocations: 32.34 kB / 1.093 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.9359, allocations: 73.38 kB / 1.093 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.9361, allocations: 120.8 kB / 1.094 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001932/0.9363, allocations: 171.7 kB / 1.094 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007288/0.937, allocations: 498.1 kB / 1.094 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.9371, allocations: 5.062 kB / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9371, allocations: 0 / 1.094 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.9371, allocations: 0 / 1.094 GB, free: 1.938 MB / 0.8575 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.001232/0.9383, allocations: 0.7038 MB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.9384, allocations: 9.75 kB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000876/0.9393, allocations: 145.8 kB / 1.095 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.9397, allocations: 353.4 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.9398, allocations: 84.97 kB / 1.095 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.372e-05/0.9399, allocations: 12.84 kB / 1.095 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007621/0.9406, allocations: 305.9 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.9407, allocations: 3.938 kB / 1.096 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.9407, allocations: 9.719 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.9407, allocations: 3.641 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00116/0.9419, allocations: 415.2 kB / 1.096 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.9435, allocations: 0.8543 MB / 1.097 GB, free: 204 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006724/0.9442, allocations: 276 kB / 1.097 GB, free: 84 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005444/0.9447, allocations: 213.6 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.9448, allocations: 6.391 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.074e-05/0.9448, allocations: 32.33 kB / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.9448, allocations: 1.219 kB / 1.098 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18): time 0.001927/0.9468, allocations: 0.6523 MB / 1.098 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.375e-05/0.9469, allocations: 61.69 kB / 1.098 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005875/0.9474, allocations: 420.7 kB / 1.099 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.9475, allocations: 31.7 kB / 1.099 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.9477, allocations: 176.9 kB / 1.099 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.943e-05/0.9477, allocations: 57.75 kB / 1.099 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.9479, allocations: 38.2 kB / 1.099 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000178/0.9481, allocations: 348 kB / 1.099 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005694/0.9486, allocations: 202 kB / 1.099 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006115/0.9493, allocations: 230.1 kB / 1.1 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.9504, allocations: 370.9 kB / 1.1 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9504, allocations: 4.547 kB / 1.1 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001251/0.9516, allocations: 465.2 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.9517, allocations: 5.906 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.9517, allocations: 0 / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.9517, allocations: 0.875 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/0.9523, allocations: 66.12 kB / 1.101 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.9523, allocations: 5.75 kB / 1.101 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004431/0.9528, allocations: 43.91 kB / 1.101 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.9528, allocations: 6.016 kB / 1.101 GB, free: 14.35 MB / 0.8731 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.0002087/0.953, allocations: 163.6 kB / 1.101 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/0.9531, allocations: 37.31 kB / 1.101 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.875e-05/0.9532, allocations: 44.66 kB / 1.101 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.9532, allocations: 7.031 kB / 1.101 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.9532, allocations: 3.938 kB / 1.101 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.9532, allocations: 1.266 kB / 1.101 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006287/0.9539, allocations: 469.6 kB / 1.101 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.9539, allocations: 0 / 1.101 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.9543, allocations: 66.12 kB / 1.101 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.9543, allocations: 1.125 kB / 1.101 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.9544, allocations: 4.188 kB / 1.101 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.9544, allocations: 5.062 kB / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9544, allocations: 4.641 kB / 1.101 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.9557, allocations: 0.5501 MB / 1.102 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.612e-05/0.9558, allocations: 115.3 kB / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.9559, allocations: 4.781 kB / 1.102 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.9562, allocations: 37.84 kB / 1.102 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.9563, allocations: 30.44 kB / 1.102 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/0.9564, allocations: 5.344 kB / 1.102 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004139/0.9568, allocations: 310.3 kB / 1.102 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9568, allocations: 0 / 1.102 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003989/0.9572, allocations: 66 kB / 1.102 GB, free: 13.24 MB / 0.8731 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.0001681/0.9574, allocations: 110.5 kB / 1.103 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001363/0.9588, allocations: 441.4 kB / 1.103 GB, free: 13 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.9588, allocations: 0 / 1.103 GB, free: 13 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005982/0.9594, allocations: 229 kB / 1.103 GB, free: 12.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.9598, allocations: 50.33 kB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.9613, allocations: 0.7043 MB / 1.104 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/0.9618, allocations: 0.792 MB / 1.105 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002201/0.962, allocations: 28.78 kB / 1.105 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/0.962, allocations: 0 / 1.105 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of Templates: time 0.01052/0.9725, allocations: 4.973 MB / 1.11 GB, free: 11.36 MB / 0.8731 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/jenkins1/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