Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 109.9 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.406/1.406, allocations: 230.6 MB / 252.8 MB, free: 9.102 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.115/3.115, allocations: 0.505 GB / 0.8066 GB, free: 23.05 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 69.89 kB / 1.172 GB, free: 17.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3522, allocations: 180.2 MB / 1.348 GB, free: 9.926 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.003293/0.3555, allocations: 1.88 MB / 1.35 GB, free: 8.035 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009945/0.3565, allocations: 0.5489 MB / 1.35 GB, free: 7.484 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.407e-05/0.3566, allocations: 4 kB / 1.35 GB, free: 7.48 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 5.089e-05/0.3566, allocations: 11.81 kB / 1.35 GB, free: 7.469 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003995/0.357, allocations: 99.47 kB / 1.35 GB, free: 7.371 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.953e-05/0.3571, allocations: 39.95 kB / 1.35 GB, free: 7.332 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.3573, allocations: 131.6 kB / 1.35 GB, free: 7.203 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002366/0.3575, allocations: 92.19 kB / 1.351 GB, free: 7.113 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.3576, allocations: 55.78 kB / 1.351 GB, free: 7.059 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.179e-05/0.3577, allocations: 67.58 kB / 1.351 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.3577, allocations: 20 kB / 1.351 GB, free: 6.973 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.3579, allocations: 95.92 kB / 1.351 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.84e-05/0.3579, allocations: 39.91 kB / 1.351 GB, free: 6.84 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.358, allocations: 67.61 kB / 1.351 GB, free: 6.773 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003446/0.3583, allocations: 255.3 kB / 1.351 GB, free: 6.523 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3583, allocations: 3.938 kB / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3584, allocations: 0 / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.3584, allocations: 0 / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0006598/0.359, allocations: 466.6 kB / 1.352 GB, free: 6.012 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3591, allocations: 11.98 kB / 1.352 GB, free: 6 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.69e-05/0.3592, allocations: 62.67 kB / 1.352 GB, free: 5.93 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.375e-05/0.3592, allocations: 16.84 kB / 1.352 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.3595, allocations: 216.1 kB / 1.352 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.3595, allocations: 16.33 kB / 1.352 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.3595, allocations: 16.38 kB / 1.352 GB, free: 5.633 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.3599, allocations: 158.2 kB / 1.352 GB, free: 5.473 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.3599, allocations: 3.938 kB / 1.352 GB, free: 5.469 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.3599, allocations: 4 kB / 1.352 GB, free: 5.465 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3599, allocations: 4 kB / 1.352 GB, free: 5.461 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003149/0.3602, allocations: 127.8 kB / 1.352 GB, free: 5.336 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007513/0.361, allocations: 0.5117 MB / 1.353 GB, free: 4.773 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.3611, allocations: 58.55 kB / 1.353 GB, free: 4.707 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.3612, allocations: 28.94 kB / 1.353 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003276/0.3616, allocations: 186.2 kB / 1.353 GB, free: 4.457 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.3616, allocations: 38.44 kB / 1.353 GB, free: 4.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.3616, allocations: 0 / 1.353 GB, free: 4.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=5): time 0.0004186/0.362, allocations: 113.6 kB / 1.353 GB, free: 4.293 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.3621, allocations: 51.41 kB / 1.353 GB, free: 4.23 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3622, allocations: 147.9 kB / 1.353 GB, free: 4.078 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3622, allocations: 25.7 kB / 1.353 GB, free: 4.047 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.587e-05/0.3623, allocations: 143.6 kB / 1.353 GB, free: 3.902 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.3623, allocations: 15.84 kB / 1.353 GB, free: 3.887 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.488e-05/0.3624, allocations: 21.7 kB / 1.353 GB, free: 3.859 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3625, allocations: 326.7 kB / 1.354 GB, free: 3.531 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3626, allocations: 23.97 kB / 1.354 GB, free: 3.508 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.3627, allocations: 59.34 kB / 1.354 GB, free: 3.438 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.3629, allocations: 71.41 kB / 1.354 GB, free: 3.355 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3629, allocations: 4 kB / 1.354 GB, free: 3.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002858/0.3632, allocations: 117.4 kB / 1.354 GB, free: 3.23 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3633, allocations: 4 kB / 1.354 GB, free: 3.227 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3633, allocations: 0 / 1.354 GB, free: 3.227 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3633, allocations: 4 kB / 1.354 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.3634, allocations: 15.98 kB / 1.354 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3634, allocations: 4 kB / 1.354 GB, free: 3.203 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/0.3635, allocations: 16.03 kB / 1.354 GB, free: 3.188 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.3635, allocations: 4 kB / 1.354 GB, free: 3.184 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001024/0.3636, allocations: 125.8 kB / 1.354 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.3636, allocations: 11.89 kB / 1.354 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.3639, allocations: 96.06 kB / 1.354 GB, free: 2.938 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3639, allocations: 4 kB / 1.354 GB, free: 2.934 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3639, allocations: 0 / 1.354 GB, free: 2.934 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3639, allocations: 0 / 1.354 GB, free: 2.934 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/0.3642, allocations: 221.6 kB / 1.355 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3642, allocations: 384 / 1.355 GB, free: 2.668 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.192e-05/0.3643, allocations: 15.92 kB / 1.355 GB, free: 2.652 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.3643, allocations: 4 kB / 1.355 GB, free: 2.648 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.3643, allocations: 11.94 kB / 1.355 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3643, allocations: 0 / 1.355 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3643, allocations: 0 / 1.355 GB, free: 2.637 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.3646, allocations: 187.5 kB / 1.355 GB, free: 2.438 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.3646, allocations: 88.94 kB / 1.355 GB, free: 2.332 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.3646, allocations: 4 kB / 1.355 GB, free: 2.328 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.384e-05/0.3647, allocations: 7.984 kB / 1.355 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.3648, allocations: 4 kB / 1.355 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.3648, allocations: 4 kB / 1.355 GB, free: 2.312 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.3e-05/0.3649, allocations: 117.8 kB / 1.355 GB, free: 2.199 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3649, allocations: 0 / 1.355 GB, free: 2.199 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003125/0.3652, allocations: 55.72 kB / 1.355 GB, free: 2.145 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.0008669/0.3661, allocations: 0.7941 MB / 1.356 GB, free: 1.324 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002702/0.3663, allocations: 59.89 kB / 1.356 GB, free: 1.266 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3663, allocations: 0 / 1.356 GB, free: 1.266 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3664, allocations: 31.97 kB / 1.356 GB, free: 1.234 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3668, allocations: 7.938 kB / 1.356 GB, free: 1.227 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.3688, allocations: 1.599 MB / 1.357 GB, free: 15.53 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.3692, allocations: 0.7119 MB / 1.358 GB, free: 14.79 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.519e-05/0.3692, allocations: 18.75 kB / 1.358 GB, free: 14.78 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.369e-05/0.3693, allocations: 39.42 kB / 1.358 GB, free: 14.74 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.3693, allocations: 0 / 1.358 GB, free: 14.74 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02675/0.396, allocations: 2.742 MB / 1.361 GB, free: 12.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/8.082, allocations: 4.25 kB / 1.361 GB, free: 12.2 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997_fmu --startTime=0 --stopTime=35 --stepSize=1 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.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.430742324097082]