Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.259/2.259, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001136/0.001137, allocations: 179.6 kB / 491.2 MB, free: 1.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 221.5 MB / 0.7868 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 106.9 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.383e-05/2.395e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3514/0.3514, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.577, allocations: 153.8 MB / 1.362 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.578, allocations: 85.36 kB / 1.363 GB, free: 17.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01966/1.597, allocations: 7.935 MB / 1.37 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.685e-06/1.597, allocations: 0 / 1.37 GB, free: 32.62 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.457e-05/1.597, allocations: 5.891 kB / 1.37 GB, free: 32.62 MB / 0.8386 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.001092/1.598, allocations: 0.6175 MB / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/1.599, allocations: 7.625 kB / 1.371 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007641/1.599, allocations: 152 kB / 1.371 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005676/1.6, allocations: 341.6 kB / 1.371 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/1.6, allocations: 75.25 kB / 1.371 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/1.6, allocations: 7.719 kB / 1.371 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005001/1.601, allocations: 306.6 kB / 1.372 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/1.601, allocations: 232.8 kB / 1.372 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/1.601, allocations: 0 / 1.372 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/1.601, allocations: 7.844 kB / 1.372 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.601, allocations: 4.172 kB / 1.372 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/1.603, allocations: 0.8213 MB / 1.373 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/1.603, allocations: 225.9 kB / 1.373 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/1.603, allocations: 154.9 kB / 1.373 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/1.603, allocations: 11.75 kB / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/1.603, allocations: 36.64 kB / 1.373 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/1.603, allocations: 0 / 1.373 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0006237/1.604, allocations: 343.6 kB / 1.374 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/1.604, allocations: 55.31 kB / 1.374 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000392/1.604, allocations: 343.8 kB / 1.374 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.374e-05/1.604, allocations: 25.7 kB / 1.374 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/1.604, allocations: 189.2 kB / 1.374 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/1.605, allocations: 53.28 kB / 1.374 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/1.605, allocations: 0 / 1.374 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.605, allocations: 347.3 kB / 1.375 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/1.605, allocations: 142.9 kB / 1.375 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/1.605, allocations: 171.6 kB / 1.375 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/1.605, allocations: 129 kB / 1.375 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/1.605, allocations: 7.953 kB / 1.375 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005299/1.606, allocations: 344.1 kB / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/1.606, allocations: 7.656 kB / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.606, allocations: 0 / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.606, allocations: 2.812 kB / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/1.606, allocations: 73.69 kB / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.606, allocations: 4 kB / 1.375 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/1.607, allocations: 50.7 kB / 1.375 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/1.607, allocations: 6.891 kB / 1.375 GB, free: 30.63 MB / 0.8386 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 (equFit.uMod) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000115/1.607, allocations: 101 kB / 1.376 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.12e-05/1.607, allocations: 46.89 kB / 1.376 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.685e-05/1.607, allocations: 39.73 kB / 1.376 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/1.607, allocations: 0 / 1.376 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.607, allocations: 0 / 1.376 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/1.607, allocations: 0 / 1.376 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004922/1.608, allocations: 454.4 kB / 1.376 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/1.608, allocations: 3.953 kB / 1.376 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004059/1.608, allocations: 76.02 kB / 1.376 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/1.608, allocations: 0 / 1.376 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/1.608, allocations: 3 kB / 1.376 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/1.608, allocations: 3.844 kB / 1.376 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/1.608, allocations: 0 / 1.376 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005587/1.609, allocations: 450.1 kB / 1.377 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.595e-05/1.609, allocations: 127.2 kB / 1.377 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.844e-05/1.609, allocations: 4 kB / 1.377 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/1.609, allocations: 41.56 kB / 1.377 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.609, allocations: 26.48 kB / 1.377 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/1.609, allocations: 3.844 kB / 1.377 GB, free: 30 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002984/1.61, allocations: 279.8 kB / 1.377 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.61, allocations: 0 / 1.377 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003818/1.61, allocations: 65.41 kB / 1.377 GB, free: 29.91 MB / 0.8386 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 (equFit.uMod) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003553/1.61, allocations: 202.9 kB / 1.377 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005234/1.611, allocations: 325.1 kB / 1.378 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.611, allocations: 0 / 1.378 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002452/1.611, allocations: 172.1 kB / 1.378 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/1.612, allocations: 47.88 kB / 1.378 GB, free: 29.78 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009328/1.612, allocations: 462.3 kB / 1.378 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/1.613, allocations: 0.7974 MB / 1.379 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003114/1.613, allocations: 60.67 kB / 1.379 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/1.613, allocations: 26.55 kB / 1.379 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.613, allocations: 4 kB / 1.379 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of Templates: time 0.0087/1.622, allocations: 3.994 MB / 1.383 GB, free: 28.49 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches