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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001136/0.001136, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001139/0.001138, allocations: 191.5 kB / 16.25 MB, free: 6.641 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.289/1.289, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.385/2.385, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.91 kB / 0.8122 GB, free: 14.67 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6491/0.6504, allocations: 140.4 MB / 0.9492 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003844/0.6543, allocations: 2.417 MB / 0.9516 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.6563, allocations: 1.382 MB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.6566, allocations: 2.625 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006924/0.6573, allocations: 197.2 kB / 0.9531 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.6576, allocations: 54.86 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.658, allocations: 106.9 kB / 0.9533 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.6585, allocations: 329.7 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.6587, allocations: 50.36 kB / 0.9537 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002576/0.6589, allocations: 131.3 kB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.6592, allocations: 184.1 kB / 0.954 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.473e-05/0.6592, allocations: 35.16 kB / 0.954 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.6594, allocations: 69.64 kB / 0.9541 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.6595, allocations: 127.6 kB / 0.9542 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.6597, allocations: 175.1 kB / 0.9543 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004463/0.6601, allocations: 0.4883 MB / 0.9548 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.6601, allocations: 4 kB / 0.9548 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.846e-06/0.6602, allocations: 1.094 kB / 0.9548 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.674e-05/0.6602, allocations: 0 / 0.9548 GB, free: 4.781 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.00119/0.6614, allocations: 0.7041 MB / 0.9555 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.6614, allocations: 9.469 kB / 0.9555 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.702e-05/0.6615, allocations: 47.5 kB / 0.9556 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008742/0.6624, allocations: 145.8 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003824/0.6628, allocations: 353.6 kB / 0.956 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.997e-05/0.6629, allocations: 86.11 kB / 0.9561 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.6629, allocations: 12.84 kB / 0.9561 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006798/0.6636, allocations: 301.1 kB / 0.9564 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.6636, allocations: 0 / 0.9564 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.6637, allocations: 9.234 kB / 0.9564 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.6637, allocations: 3 kB / 0.9564 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.6647, allocations: 418.2 kB / 0.9568 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.6662, allocations: 0.8538 MB / 0.9577 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006315/0.6669, allocations: 273.6 kB / 0.9579 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005278/0.6674, allocations: 215.8 kB / 0.9581 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.6675, allocations: 5.328 kB / 0.9581 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.6675, allocations: 40.94 kB / 0.9582 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.242e-06/0.6675, allocations: 0 / 0.9582 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001719/0.6692, allocations: 0.6415 MB / 0.9588 GB, free: 1.871 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.6693, allocations: 61.62 kB / 0.9589 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.6697, allocations: 422.9 kB / 0.9593 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.385e-05/0.6697, allocations: 30.77 kB / 0.9593 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.6699, allocations: 181.5 kB / 0.9595 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.6699, allocations: 66.42 kB / 0.9595 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.67, allocations: 39.11 kB / 0.9596 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.613e-05/0.6701, allocations: 348.6 kB / 0.9599 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005182/0.6706, allocations: 196.3 kB / 0.9601 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005237/0.6712, allocations: 227.7 kB / 0.9603 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009556/0.6721, allocations: 367.9 kB / 0.9607 GB, free: 500 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6722, allocations: 4 kB / 0.9607 GB, free: 496 kB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00112/0.6733, allocations: 458.1 kB / 0.9611 GB, free: 244 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.6733, allocations: 5.219 kB / 0.9611 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6733, allocations: 7.922 kB / 0.9611 GB, free: 236 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.6733, allocations: 5.391 kB / 0.9611 GB, free: 232 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.6738, allocations: 67.45 kB / 0.9612 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.6738, allocations: 0 / 0.9612 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.6742, allocations: 51.72 kB / 0.9612 GB, free: 172 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.6742, allocations: 6.625 kB / 0.9612 GB, free: 168 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.0001658/0.6744, allocations: 169.8 kB / 0.9614 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.681e-05/0.6745, allocations: 32.95 kB / 0.9614 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.434e-05/0.6746, allocations: 38.81 kB / 0.9615 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.6746, allocations: 6.562 kB / 0.9615 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.6746, allocations: 0 / 0.9615 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.6746, allocations: 5.422 kB / 0.9615 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005836/0.6752, allocations: 470.8 kB / 0.9619 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6752, allocations: 0 / 0.9619 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004403/0.6757, allocations: 63.2 kB / 0.962 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.6757, allocations: 5.188 kB / 0.962 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.6757, allocations: 5.203 kB / 0.962 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.6757, allocations: 5.031 kB / 0.962 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6757, allocations: 0 / 0.962 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.677, allocations: 0.5569 MB / 0.9625 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.6771, allocations: 115.8 kB / 0.9627 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.093e-05/0.6772, allocations: 10.09 kB / 0.9627 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003604/0.6775, allocations: 32.33 kB / 0.9627 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.6777, allocations: 25.09 kB / 0.9627 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.6777, allocations: 7.734 kB / 0.9627 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003696/0.6781, allocations: 307.9 kB / 0.963 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6781, allocations: 0 / 0.963 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003943/0.6785, allocations: 66.38 kB / 0.9631 GB, free: 14.79 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.001615/0.6801, allocations: 1.097 MB / 0.9642 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00125/0.6814, allocations: 451.4 kB / 0.9646 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6814, allocations: 4.812 kB / 0.9646 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005946/0.682, allocations: 227.3 kB / 0.9648 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004778/0.6825, allocations: 57.34 kB / 0.9649 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007765/0.6902, allocations: 4.239 MB / 0.969 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.6907, allocations: 0.7978 MB / 0.9698 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003401/0.691, allocations: 57.17 kB / 0.9698 GB, free: 9.898 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002507/0.6913, allocations: 114.2 kB / 0.9699 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of SimCode: time 5.91e-07/0.6913, allocations: 0 / 0.9699 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.175/1.866, allocations: 7.706 MB / 0.9775 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/1.866, allocations: 222.4 kB / 0.9777 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/3.771, allocations: 0 / 0.9777 GB, free: 4.598 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > 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