Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001504/0.001504, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001582/0.001582, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.402/1.402, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.8/2.8, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997",fmuType="cs",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.001924/0.001924, allocations: 67.89 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9035/0.9055, allocations: 176.1 MB / 1.322 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.00262/0.9081, allocations: 1.881 MB / 1.323 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007568/0.9088, allocations: 0.5331 MB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.345e-05/0.9089, allocations: 2.375 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.531e-05/0.909, allocations: 22.22 kB / 1.324 GB, free: 23.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.9093, allocations: 96.77 kB / 1.324 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.997e-05/0.9094, allocations: 36.91 kB / 1.324 GB, free: 23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001132/0.9095, allocations: 126 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002009/0.9097, allocations: 98.56 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.93e-05/0.9097, allocations: 59.31 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.9098, allocations: 64.73 kB / 1.324 GB, free: 22.81 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.9098, allocations: 22.44 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.91, allocations: 96.83 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.91, allocations: 40.22 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.219e-05/0.91, allocations: 69.14 kB / 1.325 GB, free: 22.7 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002507/0.9103, allocations: 257.3 kB / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.9103, allocations: 0 / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9103, allocations: 0 / 1.325 GB, free: 22.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.9103, allocations: 0 / 1.325 GB, free: 22.6 MB / 1.061 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.0004908/0.9108, allocations: 469.3 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.9108, allocations: 16.27 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.605e-05/0.9109, allocations: 5.469 kB / 1.325 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.429e-05/0.9109, allocations: 59.47 kB / 1.325 GB, free: 22.1 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.911, allocations: 23.12 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001598/0.9111, allocations: 212 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.9111, allocations: 16.78 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.9112, allocations: 15.72 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.9115, allocations: 170.1 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.9115, allocations: 4 kB / 1.326 GB, free: 21.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.9115, allocations: 8 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.9115, allocations: 5.562 kB / 1.326 GB, free: 21.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.9118, allocations: 118.7 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.9124, allocations: 0.5398 MB / 1.326 GB, free: 21.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001787/0.9126, allocations: 77.08 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.9127, allocations: 38.38 kB / 1.327 GB, free: 21.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002516/0.9129, allocations: 192 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.408e-05/0.9129, allocations: 37.36 kB / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.9129, allocations: 0 / 1.327 GB, free: 21.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.004525/0.9174, allocations: 0.759 MB / 1.327 GB, free: 20.85 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.9175, allocations: 57.44 kB / 1.328 GB, free: 20.78 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.9176, allocations: 136.4 kB / 1.328 GB, free: 20.67 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.9176, allocations: 30.42 kB / 1.328 GB, free: 20.64 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.9177, allocations: 134.7 kB / 1.328 GB, free: 20.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.9177, allocations: 61.25 kB / 1.328 GB, free: 20.47 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.611e-05/0.9178, allocations: 35.56 kB / 1.328 GB, free: 20.44 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.9178, allocations: 320.8 kB / 1.328 GB, free: 20.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.9182, allocations: 102 kB / 1.328 GB, free: 20.1 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004424/0.9187, allocations: 137.5 kB / 1.328 GB, free: 20.04 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008335/0.9195, allocations: 232.4 kB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.9195, allocations: 4.5 kB / 1.329 GB, free: 19.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009571/0.9205, allocations: 273.2 kB / 1.329 GB, free: 19.86 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9205, allocations: 8.844 kB / 1.329 GB, free: 19.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.9205, allocations: 1.219 kB / 1.329 GB, free: 19.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.9205, allocations: 2.5 kB / 1.329 GB, free: 19.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003872/0.9209, allocations: 61.81 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.9209, allocations: 1.312 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.9212, allocations: 30.64 kB / 1.329 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.9212, allocations: 8.609 kB / 1.329 GB, free: 19.84 MB / 1.061 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 (17): * Single equations (assignments): 17 * 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.0001001/0.9213, allocations: 128.8 kB / 1.329 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.436e-05/0.9214, allocations: 9.109 kB / 1.329 GB, free: 19.71 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.9224, allocations: 299.2 kB / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.9224, allocations: 1.656 kB / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9224, allocations: 0.5938 kB / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.9224, allocations: 0.6562 kB / 1.329 GB, free: 19.59 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.9237, allocations: 0.6478 MB / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.9237, allocations: 0 / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003413/0.9241, allocations: 53.78 kB / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.9241, allocations: 0 / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.9241, allocations: 6.172 kB / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.9241, allocations: 2.172 kB / 1.33 GB, free: 19.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.9241, allocations: 3.938 kB / 1.33 GB, free: 19.15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000941/0.9251, allocations: 362.3 kB / 1.331 GB, free: 18.96 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.91e-05/0.9251, allocations: 87.78 kB / 1.331 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.9251, allocations: 2.609 kB / 1.331 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003139/0.9254, allocations: 41.02 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.9255, allocations: 7.734 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.9255, allocations: 8.875 kB / 1.331 GB, free: 18.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.115e-05/0.9256, allocations: 107.6 kB / 1.331 GB, free: 18.76 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9256, allocations: 0.75 kB / 1.331 GB, free: 18.76 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003486/0.9259, allocations: 54.7 kB / 1.331 GB, free: 18.75 MB / 1.061 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 (15): * Single equations (assignments): 15 * 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.001699/0.9276, allocations: 1.057 MB / 1.332 GB, free: 17.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0009504/0.9286, allocations: 234.1 kB / 1.332 GB, free: 17.92 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9286, allocations: 0 / 1.332 GB, free: 17.92 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0004407/0.929, allocations: 126.6 kB / 1.332 GB, free: 17.89 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.9294, allocations: 27.56 kB / 1.332 GB, free: 17.87 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.9331, allocations: 2.154 MB / 1.334 GB, free: 16.34 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.9333, allocations: 0.7182 MB / 1.335 GB, free: 15.64 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002038/0.9335, allocations: 41.44 kB / 1.335 GB, free: 15.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.9337, allocations: 50.95 kB / 1.335 GB, free: 15.59 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/0.9337, allocations: 0.5 kB / 1.335 GB, free: 15.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0232/0.9569, allocations: 4.52 MB / 1.34 GB, free: 15.02 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.525/9.482, allocations: 14.45 kB / 1.34 GB, free: 15.01 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997_fmu --startTime=0 --stopTime=35 --stepSize=1 --timeout=400 --tolerance=1e-08 Buildings_12_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997.fmu > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_Frosting_Validation_WetterAfjei1997.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 15.469788027985487]