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.001029/0.001029, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001109/0.001109, allocations: 169 kB / 23.02 MB, free: 1.551 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.9986/0.9986, allocations: 177.1 MB / 203.4 MB, free: 5.633 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 2.137/2.137, allocations: 429.5 MB / 0.6732 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,tolerance=1e-08,outputFormat="mat",numberOfIntervals=35,variableFilter="time|sigBus1.TEvaInMea|iceFacAir|iceFacWat",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997,tolerance=1e-08,outputFormat="mat",numberOfIntervals=35,variableFilter="time|sigBus1.TEvaInMea|iceFacAir|iceFacWat",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.895e-05/3.082e-05, allocations: 5.828 kB / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997): time 0.002723/0.002754, allocations: 1.937 MB / 0.8801 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008451/0.003599, allocations: 0.5397 MB / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.388e-05/0.003673, allocations: 0 / 0.8806 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 5.086e-05/0.003723, allocations: 15.8 kB / 0.8807 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004031/0.004127, allocations: 109.7 kB / 0.8808 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.375e-05/0.00419, allocations: 43.94 kB / 0.8808 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.004486, allocations: 132 kB / 0.8809 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.004719, allocations: 90 kB / 0.881 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.494e-05/0.004814, allocations: 87.8 kB / 0.8811 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.004875, allocations: 43.81 kB / 0.8811 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.535e-05/0.0049, allocations: 17.25 kB / 0.8812 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.005068, allocations: 103.8 kB / 0.8813 GB, free: 3.168 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.473e-05/0.005103, allocations: 31.91 kB / 0.8813 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.005146, allocations: 47.86 kB / 0.8813 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002515/0.005398, allocations: 192.2 kB / 0.8815 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.0054, allocations: 0 / 0.8815 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.092e-06/0.005401, allocations: 3.438 kB / 0.8815 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.005406, allocations: 0 / 0.8815 GB, free: 2.902 MB / 0.8386 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.000455/0.005861, allocations: 483.4 kB / 0.882 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.005898, allocations: 8.031 kB / 0.882 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.647e-05/0.005955, allocations: 36.8 kB / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.006126, allocations: 160.3 kB / 0.8822 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.006149, allocations: 16.38 kB / 0.8822 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.006169, allocations: 16.38 kB / 0.8822 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.006367, allocations: 138.6 kB / 0.8823 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.006378, allocations: 0.7812 kB / 0.8823 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.006391, allocations: 9.906 kB / 0.8823 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.0064, allocations: 4.375 kB / 0.8824 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.458e-05/0.006485, allocations: 55.69 kB / 0.8824 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.007024, allocations: 464.3 kB / 0.8828 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.415e-05/0.007118, allocations: 54.98 kB / 0.8829 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.942e-05/0.007147, allocations: 15.69 kB / 0.8829 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001677/0.007315, allocations: 32.06 kB / 0.8829 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.007339, allocations: 33.39 kB / 0.883 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 2.244e-06/0.007341, allocations: 0 / 0.883 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0001696/0.007511, allocations: 61.64 kB / 0.883 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.007541, allocations: 59.34 kB / 0.8831 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.007651, allocations: 196.9 kB / 0.8833 GB, free: 0.9297 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.007662, allocations: 25.7 kB / 0.8833 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.007746, allocations: 190.9 kB / 0.8835 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.007761, allocations: 23.84 kB / 0.8835 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.007797, allocations: 27.31 kB / 0.8835 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.007919, allocations: 0.4923 MB / 0.884 GB, free: 148 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.007938, allocations: 4 kB / 0.884 GB, free: 144 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.717e-05/0.007986, allocations: 58.42 kB / 0.8841 GB, free: 64 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.918e-05/0.008065, allocations: 70.62 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.008067, allocations: 4 kB / 0.8841 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001146/0.008182, allocations: 89.5 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.008198, allocations: 4 kB / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.008205, allocations: 4 kB / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.008224, allocations: 0 / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.245e-05/0.008307, allocations: 19.98 kB / 0.8843 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.008313, allocations: 0 / 0.8843 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.008348, allocations: 15.81 kB / 0.8843 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.008356, allocations: 4.125 kB / 0.8843 GB, free: 15.83 MB / 0.8542 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 8.377e-05/0.00844, allocations: 164.6 kB / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.898e-05/0.008459, allocations: 7.953 kB / 0.8844 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.008601, allocations: 62.14 kB / 0.8845 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.008603, allocations: 0 / 0.8845 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.706e-06/0.008607, allocations: 0 / 0.8845 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.008613, allocations: 7.938 kB / 0.8845 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00015/0.008763, allocations: 160.5 kB / 0.8847 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.008765, allocations: 0 / 0.8847 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.261e-05/0.008808, allocations: 19.92 kB / 0.8847 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.00881, allocations: 0 / 0.8847 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.008819, allocations: 8 kB / 0.8847 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.008821, allocations: 0 / 0.8847 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.008822, allocations: 0 / 0.8847 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.008938, allocations: 204 kB / 0.8849 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.008951, allocations: 11.95 kB / 0.8849 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.008964, allocations: 4 kB / 0.8849 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/0.009003, allocations: 3.984 kB / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.00904, allocations: 11.92 kB / 0.8849 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.009043, allocations: 0 / 0.8849 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.042e-05/0.009094, allocations: 146.3 kB / 0.8851 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009094, allocations: 0 / 0.8851 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002213/0.009315, allocations: 71.58 kB / 0.8851 GB, free: 14.89 MB / 0.8542 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.0001893/0.009504, allocations: 139 kB / 0.8853 GB, free: 14.74 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.009615, allocations: 43.59 kB / 0.8853 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.009616, allocations: 0 / 0.8853 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.457e-05/0.009641, allocations: 19.69 kB / 0.8853 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002225/0.009863, allocations: 20.23 kB / 0.8853 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/0.01048, allocations: 259.2 kB / 0.8856 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.456e-05/0.01052, allocations: 71.33 kB / 0.8857 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.578e-05/0.01056, allocations: 8.734 kB / 0.8857 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.981e-05/0.01059, allocations: 12.5 kB / 0.8857 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of SimCode: time 6.81e-07/0.01059, allocations: 0 / 0.8857 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of Templates: time 0.003492/0.01408, allocations: 1.366 MB / 0.887 GB, free: 12.96 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.Frosting.Validation.WetterAfjei1997.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.707365450914949]