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.0007761/0.0007761, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008381/0.0008381, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9044/0.9044, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.755/1.755, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.697e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.002217/0.002234, allocations: 1.863 MB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006794/0.002914, allocations: 0.5138 MB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.002974, allocations: 4 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.641e-05/0.00302, allocations: 19.73 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.003358, allocations: 103.3 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 5.259e-05/0.003411, allocations: 39.97 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.003531, allocations: 143.5 kB / 1.002 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.003732, allocations: 92.94 kB / 1.002 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.932e-05/0.003821, allocations: 87.81 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.003875, allocations: 43.88 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.003898, allocations: 16 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.004041, allocations: 95.86 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.004068, allocations: 39.83 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.004106, allocations: 47.84 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.004351, allocations: 267.2 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.004353, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004354, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.004358, allocations: 0 / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0004347/0.004792, allocations: 397.5 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.00483, allocations: 9.344 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.576e-05/0.004896, allocations: 54.69 kB / 1.003 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.004927, allocations: 20.78 kB / 1.003 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.005104, allocations: 165.5 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.005119, allocations: 12.38 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.005134, allocations: 16.38 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002037/0.005338, allocations: 162.1 kB / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.005346, allocations: 192 / 1.004 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.005358, allocations: 12.38 kB / 1.004 GB, free: 9.184 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.005365, allocations: 12.12 kB / 1.004 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.005528, allocations: 107.9 kB / 1.004 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.006017, allocations: 464.8 kB / 1.004 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.006123, allocations: 62.48 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.007e-05/0.006173, allocations: 28.94 kB / 1.004 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/0.006315, allocations: 35.95 kB / 1.004 GB, free: 8.426 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.006334, allocations: 34.56 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.006335, allocations: 0 / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0002368/0.006572, allocations: 121.4 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.006599, allocations: 55.41 kB / 1.005 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.006682, allocations: 145.8 kB / 1.005 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.006693, allocations: 29.7 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.006748, allocations: 140.1 kB / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.717e-06/0.006756, allocations: 19.84 kB / 1.005 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.006792, allocations: 25.67 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.891e-05/0.006861, allocations: 318.8 kB / 1.005 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.04e-05/0.006911, allocations: 31.97 kB / 1.005 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-05/0.006971, allocations: 52.22 kB / 1.005 GB, free: 7.395 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001085/0.007079, allocations: 92.19 kB / 1.005 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007081, allocations: 4 kB / 1.006 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001379/0.007219, allocations: 113.5 kB / 1.006 GB, free: 7.168 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.007231, allocations: 8 kB / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.007236, allocations: 0 / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.007248, allocations: 7.938 kB / 1.006 GB, free: 7.152 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.007315, allocations: 28.05 kB / 1.006 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.007319, allocations: 3.938 kB / 1.006 GB, free: 7.121 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.005e-05/0.007359, allocations: 11.98 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.007367, allocations: 7.984 kB / 1.006 GB, free: 7.102 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * 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 6.782e-05/0.007435, allocations: 117.8 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.007451, allocations: 7.953 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.007611, allocations: 110 kB / 1.006 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.007614, allocations: 7.875 kB / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.007617, allocations: 0 / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.00762, allocations: 0 / 1.006 GB, free: 6.848 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.007763, allocations: 184.7 kB / 1.006 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.007764, allocations: 0 / 1.006 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.244e-05/0.007796, allocations: 16.36 kB / 1.006 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.007798, allocations: 0 / 1.006 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.007804, allocations: 0 / 1.006 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.007806, allocations: 7.938 kB / 1.006 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.007807, allocations: 4 kB / 1.006 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.007943, allocations: 183.5 kB / 1.006 GB, free: 6.402 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.007955, allocations: 15.95 kB / 1.006 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.007966, allocations: 0 / 1.006 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.008011, allocations: 11.92 kB / 1.006 GB, free: 6.375 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.00804, allocations: 4 kB / 1.006 GB, free: 6.371 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.008043, allocations: 3.938 kB / 1.006 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.011e-05/0.008093, allocations: 117.1 kB / 1.006 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008093, allocations: 0 / 1.006 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001942/0.008288, allocations: 51.77 kB / 1.006 GB, free: 6.203 MB / 0.9636 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.0004776/0.008765, allocations: 0.7942 MB / 1.007 GB, free: 5.383 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001446/0.00891, allocations: 63.89 kB / 1.007 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.008911, allocations: 256 / 1.007 GB, free: 5.32 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.856e-05/0.008959, allocations: 31.92 kB / 1.007 GB, free: 5.289 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.009189, allocations: 29.55 kB / 1.007 GB, free: 5.262 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.01037, allocations: 1.621 MB / 1.009 GB, free: 3.535 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.243e-05/0.01043, allocations: 98.92 kB / 1.009 GB, free: 3.414 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.01047, allocations: 15.17 kB / 1.009 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.01052, allocations: 40.48 kB / 1.009 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.01052, allocations: 0 / 1.009 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01613/0.02665, allocations: 3.466 MB / 1.012 GB, free: 128 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.049/7.075, allocations: 7.922 kB / 1.013 GB, free: 120 kB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.049081877805293]