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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009498/0.00095, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.007286/0.007286, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.249/1.249, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.9 MB / 0.6664 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002925, allocations: 15.98 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5257/0.526, allocations: 142.4 MB / 0.9552 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.001883/0.5279, allocations: 2.078 MB / 0.9572 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.5293, allocations: 1.361 MB / 0.9585 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.5294, allocations: 2.219 kB / 0.9585 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004234/0.5298, allocations: 194.4 kB / 0.9587 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.962e-05/0.5299, allocations: 64.91 kB / 0.9588 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002042/0.5301, allocations: 101.1 kB / 0.9589 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002515/0.5304, allocations: 311.5 kB / 0.9592 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.5305, allocations: 52.69 kB / 0.9592 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.5306, allocations: 119.4 kB / 0.9593 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.5309, allocations: 176.1 kB / 0.9595 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.156e-05/0.5309, allocations: 19.25 kB / 0.9595 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.531, allocations: 61.09 kB / 0.9596 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.725e-05/0.5311, allocations: 111.2 kB / 0.9597 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.5312, allocations: 187.4 kB / 0.9599 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002947/0.5315, allocations: 469.6 kB / 0.9603 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5315, allocations: 0 / 0.9603 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5316, allocations: 0 / 0.9603 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.5316, allocations: 0 / 0.9603 GB, free: 3.848 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.0008953/0.5325, allocations: 0.6637 MB / 0.961 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.5325, allocations: 13.69 kB / 0.961 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.35e-05/0.5325, allocations: 47.52 kB / 0.961 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000855/0.5334, allocations: 178.1 kB / 0.9612 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.5337, allocations: 352.4 kB / 0.9615 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.199e-05/0.5338, allocations: 83.09 kB / 0.9616 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.417e-05/0.5339, allocations: 13.78 kB / 0.9616 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006859/0.5346, allocations: 328 kB / 0.9619 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.5346, allocations: 0 / 0.9619 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.5346, allocations: 9.094 kB / 0.9619 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5346, allocations: 2.5 kB / 0.9619 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.5357, allocations: 457 kB / 0.9624 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.537, allocations: 0.879 MB / 0.9632 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000621/0.5377, allocations: 296.2 kB / 0.9635 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000519/0.5382, allocations: 240.3 kB / 0.9637 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.5382, allocations: 2.281 kB / 0.9637 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.5383, allocations: 35.84 kB / 0.9638 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.5383, allocations: 0 / 0.9638 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.001673/0.5399, allocations: 0.71 MB / 0.9645 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.758e-05/0.54, allocations: 57.91 kB / 0.9645 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003673/0.5403, allocations: 426.3 kB / 0.9649 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/0.5404, allocations: 30.83 kB / 0.965 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.725e-05/0.5405, allocations: 181.8 kB / 0.9651 GB, free: 420 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.5405, allocations: 57.8 kB / 0.9652 GB, free: 368 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.555e-05/0.5406, allocations: 18.44 kB / 0.9652 GB, free: 348 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.5406, allocations: 348.1 kB / 0.9655 GB, free: 0 / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/0.5412, allocations: 219.7 kB / 0.9658 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.5418, allocations: 255.7 kB / 0.966 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.5429, allocations: 411.9 kB / 0.9664 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5429, allocations: 5.125 kB / 0.9664 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001216/0.5441, allocations: 0.5007 MB / 0.9669 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.5441, allocations: 5.156 kB / 0.9669 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.5442, allocations: 0 / 0.9669 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.5442, allocations: 0.9375 kB / 0.9669 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.5446, allocations: 81.3 kB / 0.967 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5446, allocations: 4.844 kB / 0.967 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.545, allocations: 52.27 kB / 0.967 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.545, allocations: 11.95 kB / 0.967 GB, free: 15.22 MB / 0.7325 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.0001703/0.5452, allocations: 161.3 kB / 0.9672 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.5453, allocations: 36.19 kB / 0.9672 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.845e-05/0.5454, allocations: 43.7 kB / 0.9673 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5454, allocations: 6.125 kB / 0.9673 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5454, allocations: 0 / 0.9673 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5454, allocations: 5.031 kB / 0.9673 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.5459, allocations: 478.4 kB / 0.9677 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5459, allocations: 0.9688 kB / 0.9677 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.5463, allocations: 76.59 kB / 0.9678 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.5463, allocations: 4.859 kB / 0.9678 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.476e-05/0.5464, allocations: 1.906 kB / 0.9678 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.5464, allocations: 3.938 kB / 0.9678 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.5464, allocations: 1.031 kB / 0.9678 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.5476, allocations: 0.5931 MB / 0.9684 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.5477, allocations: 115.6 kB / 0.9685 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.5478, allocations: 6 kB / 0.9685 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.5482, allocations: 50.36 kB / 0.9686 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.5483, allocations: 25.2 kB / 0.9686 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.198e-05/0.5483, allocations: 3.656 kB / 0.9686 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002899/0.5486, allocations: 307.8 kB / 0.9689 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5486, allocations: 0 / 0.9689 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003077/0.5489, allocations: 69.78 kB / 0.9689 GB, free: 13.84 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.001477/0.5504, allocations: 1.143 MB / 0.9701 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001186/0.5516, allocations: 476.9 kB / 0.9705 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5516, allocations: 0 / 0.9705 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005951/0.5522, allocations: 257.2 kB / 0.9708 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.5526, allocations: 49.86 kB / 0.9708 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006472/0.5591, allocations: 4.39 MB / 0.9751 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.5594, allocations: 0.7979 MB / 0.9759 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002654/0.5597, allocations: 60.91 kB / 0.9759 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.5599, allocations: 104.8 kB / 0.976 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of SimCode: time 3.3e-07/0.5599, allocations: 1.094 kB / 0.976 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.973/2.533, allocations: 7.348 MB / 0.9832 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003164/2.534, allocations: 217.9 kB / 0.9834 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/4.592, allocations: 0 / 0.9834 GB, free: 2.094 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