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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 108.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.019/3.019, allocations: 497.2 MB / 0.7811 GB, free: 33.59 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 61.38 kB / 1.134 GB, free: 33.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3042, allocations: 173.9 MB / 1.304 GB, free: 1.547 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003921/0.3081, allocations: 2.385 MB / 1.306 GB, free: 15.14 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0023/0.3104, allocations: 1.413 MB / 1.308 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.3105, allocations: 4 kB / 1.308 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000679/0.3112, allocations: 202.8 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.3114, allocations: 75.34 kB / 1.308 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003822/0.3118, allocations: 123.7 kB / 1.308 GB, free: 13.32 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.3122, allocations: 326.8 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.3123, allocations: 33.02 kB / 1.308 GB, free: 12.97 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.3125, allocations: 135.5 kB / 1.309 GB, free: 12.84 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002741/0.3128, allocations: 187.3 kB / 1.309 GB, free: 12.66 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.369e-05/0.3128, allocations: 32 kB / 1.309 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.313, allocations: 67.95 kB / 1.309 GB, free: 12.56 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.3131, allocations: 123.6 kB / 1.309 GB, free: 12.44 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001578/0.3132, allocations: 171.1 kB / 1.309 GB, free: 12.27 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.3138, allocations: 0.4942 MB / 1.31 GB, free: 11.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.3138, allocations: 0 / 1.31 GB, free: 11.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3138, allocations: 0 / 1.31 GB, free: 11.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.3138, allocations: 0 / 1.31 GB, free: 11.77 MB / 1.014 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.001418/0.3152, allocations: 0.7235 MB / 1.31 GB, free: 11 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3153, allocations: 12.62 kB / 1.31 GB, free: 10.99 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.692e-05/0.3153, allocations: 46.75 kB / 1.31 GB, free: 10.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008301/0.3162, allocations: 140.5 kB / 1.31 GB, free: 10.8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.3167, allocations: 362.5 kB / 1.311 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001149/0.3168, allocations: 92.11 kB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.3168, allocations: 12.38 kB / 1.311 GB, free: 10.29 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007085/0.3175, allocations: 300.4 kB / 1.311 GB, free: 9.996 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3176, allocations: 0 / 1.311 GB, free: 9.996 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.998e-05/0.3176, allocations: 7.984 kB / 1.311 GB, free: 9.988 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3176, allocations: 8 kB / 1.311 GB, free: 9.98 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.3187, allocations: 416.4 kB / 1.312 GB, free: 9.574 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001652/0.3203, allocations: 0.8589 MB / 1.312 GB, free: 8.66 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/0.321, allocations: 266.3 kB / 1.313 GB, free: 8.391 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005041/0.3215, allocations: 196.7 kB / 1.313 GB, free: 8.195 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.044e-05/0.3215, allocations: 15.97 kB / 1.313 GB, free: 8.18 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.3215, allocations: 38.5 kB / 1.313 GB, free: 8.133 MB / 1.014 GB Notification: Performance of pre-optimization done (n=18): time 1.563e-06/0.3215, allocations: 0 / 1.313 GB, free: 8.133 MB / 1.014 GB Notification: Performance of matching and sorting (n=18): time 0.001748/0.3233, allocations: 0.6471 MB / 1.314 GB, free: 7.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3233, allocations: 55.34 kB / 1.314 GB, free: 7.414 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004813/0.3238, allocations: 429.6 kB / 1.314 GB, free: 6.984 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.3239, allocations: 25.7 kB / 1.314 GB, free: 6.953 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.324, allocations: 176.1 kB / 1.314 GB, free: 6.777 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.3241, allocations: 63.47 kB / 1.314 GB, free: 6.715 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.3242, allocations: 45.7 kB / 1.314 GB, free: 6.664 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3243, allocations: 346.8 kB / 1.315 GB, free: 6.316 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.3248, allocations: 191.8 kB / 1.315 GB, free: 6.129 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005423/0.3254, allocations: 236.5 kB / 1.315 GB, free: 5.887 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009779/0.3264, allocations: 374.1 kB / 1.315 GB, free: 5.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3264, allocations: 0 / 1.315 GB, free: 5.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001174/0.3275, allocations: 457.1 kB / 1.316 GB, free: 5.066 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.3276, allocations: 9.875 kB / 1.316 GB, free: 5.059 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3276, allocations: 7.984 kB / 1.316 GB, free: 5.051 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3276, allocations: 0 / 1.316 GB, free: 5.051 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.328, allocations: 63.81 kB / 1.316 GB, free: 4.988 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.328, allocations: 0 / 1.316 GB, free: 4.988 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00032/0.3284, allocations: 47.83 kB / 1.316 GB, free: 4.941 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.3284, allocations: 4 kB / 1.316 GB, free: 4.938 MB / 1.014 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.0001968/0.3286, allocations: 169.8 kB / 1.316 GB, free: 4.762 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.351e-05/0.3286, allocations: 35.77 kB / 1.316 GB, free: 4.727 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.027e-05/0.3287, allocations: 39.59 kB / 1.316 GB, free: 4.688 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3287, allocations: 3.938 kB / 1.316 GB, free: 4.684 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3287, allocations: 0 / 1.316 GB, free: 4.684 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3287, allocations: 7.984 kB / 1.316 GB, free: 4.676 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005531/0.3293, allocations: 474.8 kB / 1.317 GB, free: 4.168 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3293, allocations: 0 / 1.317 GB, free: 4.168 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004125/0.3297, allocations: 67.86 kB / 1.317 GB, free: 4.102 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3297, allocations: 3.938 kB / 1.317 GB, free: 4.098 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.837e-05/0.3297, allocations: 7.984 kB / 1.317 GB, free: 4.09 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.3297, allocations: 3.938 kB / 1.317 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3297, allocations: 0 / 1.317 GB, free: 4.086 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.3309, allocations: 0.5536 MB / 1.317 GB, free: 3.516 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.331, allocations: 120.9 kB / 1.317 GB, free: 3.379 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.236e-05/0.3311, allocations: 0 / 1.317 GB, free: 3.379 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003324/0.3314, allocations: 39.89 kB / 1.317 GB, free: 3.34 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/0.3315, allocations: 23.97 kB / 1.317 GB, free: 3.316 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.3316, allocations: 15.98 kB / 1.317 GB, free: 3.301 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000326/0.3319, allocations: 303.1 kB / 1.318 GB, free: 3.008 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3319, allocations: 0 / 1.318 GB, free: 3.008 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003181/0.3322, allocations: 63.94 kB / 1.318 GB, free: 2.945 MB / 1.014 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.001511/0.3337, allocations: 1.101 MB / 1.319 GB, free: 1.816 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.3349, allocations: 427.6 kB / 1.319 GB, free: 1.398 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3349, allocations: 0 / 1.319 GB, free: 1.398 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005464/0.3354, allocations: 215.8 kB / 1.32 GB, free: 1.188 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.3358, allocations: 53.5 kB / 1.32 GB, free: 1.133 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006694/0.3425, allocations: 4.144 MB / 1.324 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.3429, allocations: 0.7948 MB / 1.324 GB, free: 12.08 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002843/0.3432, allocations: 58.27 kB / 1.324 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.3434, allocations: 107.4 kB / 1.325 GB, free: 11.92 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/0.3434, allocations: 0 / 1.325 GB, free: 11.92 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03215/0.3756, allocations: 7.964 MB / 1.332 GB, free: 4.152 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/8.535, allocations: 7.219 kB / 1.332 GB, free: 4.148 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --stepSize=1.04 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.81596333393827]