Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.001435/0.001435, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001767/0.001767, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.448/2.448, allocations: 438.8 MB / 0.6827 GB, free: 13.58 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.596e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003073/0.003099, allocations: 1.74 MB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.004593, allocations: 1.418 MB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.004661, allocations: 3.938 kB / 0.8417 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.004902, allocations: 27.72 kB / 0.8418 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003744/0.005276, allocations: 115.3 kB / 0.8419 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003932/0.00567, allocations: 135.5 kB / 0.842 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.006023, allocations: 245.5 kB / 0.8422 GB, free: 10.45 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.006123, allocations: 23.95 kB / 0.8423 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02567/0.0318, allocations: 9.735 MB / 0.8518 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.03193, allocations: 79.83 kB / 0.8518 GB, free: 4.016 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.03196, allocations: 16 kB / 0.8518 GB, free: 4 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.03209, allocations: 59.92 kB / 0.8519 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.305e-05/0.03216, allocations: 79.73 kB / 0.852 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.03222, allocations: 71.81 kB / 0.8521 GB, free: 3.793 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002979/0.03252, allocations: 239 kB / 0.8523 GB, free: 3.559 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.03253, allocations: 0 / 0.8523 GB, free: 3.559 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.964e-06/0.03253, allocations: 0 / 0.8523 GB, free: 3.559 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.03253, allocations: 0 / 0.8523 GB, free: 3.559 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004997/0.03303, allocations: 448.6 kB / 0.8527 GB, free: 3.094 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.03306, allocations: 12.03 kB / 0.8527 GB, free: 3.082 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.03311, allocations: 28.91 kB / 0.8527 GB, free: 3.055 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002278/0.03334, allocations: 240.7 kB / 0.853 GB, free: 2.793 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.03335, allocations: 8.703 kB / 0.853 GB, free: 2.785 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.03337, allocations: 20.38 kB / 0.853 GB, free: 2.766 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.03357, allocations: 215.7 kB / 0.8532 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.03358, allocations: 192 / 0.8532 GB, free: 2.527 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.0336, allocations: 12.12 kB / 0.8532 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.0336, allocations: 4 kB / 0.8532 GB, free: 2.512 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.03402, allocations: 491.2 kB / 0.8537 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.0345, allocations: 339 kB / 0.854 GB, free: 1.68 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.03468, allocations: 139.6 kB / 0.8541 GB, free: 1.535 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.03473, allocations: 45.95 kB / 0.8542 GB, free: 1.488 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.03476, allocations: 24.2 kB / 0.8542 GB, free: 1.465 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.03491, allocations: 124.8 kB / 0.8543 GB, free: 1.332 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=35): time 1.372e-06/0.03491, allocations: 0 / 0.8543 GB, free: 1.332 MB / 0.8073 GB Notification: Performance of matching and sorting (n=35): time 0.0002275/0.03514, allocations: 169.9 kB / 0.8545 GB, free: 1.16 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.03519, allocations: 110.8 kB / 0.8546 GB, free: 1.027 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.0353, allocations: 197 kB / 0.8548 GB, free: 0.8242 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.03533, allocations: 37.7 kB / 0.8548 GB, free: 0.7812 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.03537, allocations: 113.1 kB / 0.8549 GB, free: 0.6641 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.44e-05/0.03544, allocations: 119 kB / 0.855 GB, free: 0.5469 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/0.0355, allocations: 61.59 kB / 0.8551 GB, free: 492 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.596e-05/0.03559, allocations: 338.8 kB / 0.8554 GB, free: 144 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.662e-05/0.03564, allocations: 35.72 kB / 0.8555 GB, free: 108 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.12e-05/0.03573, allocations: 117.9 kB / 0.8556 GB, free: 15.97 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.03585, allocations: 113.1 kB / 0.8557 GB, free: 15.86 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.03585, allocations: 0 / 0.8557 GB, free: 15.86 MB / 0.823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000172/0.03602, allocations: 145.3 kB / 0.8558 GB, free: 15.71 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.03603, allocations: 4 kB / 0.8558 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.03604, allocations: 3.984 kB / 0.8558 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.03605, allocations: 4 kB / 0.8558 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.0362, allocations: 63.89 kB / 0.8559 GB, free: 15.63 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.03621, allocations: 0 / 0.8559 GB, free: 15.63 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.03628, allocations: 31.86 kB / 0.8559 GB, free: 15.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.03629, allocations: 15.86 kB / 0.8559 GB, free: 15.59 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.419e-05/0.03637, allocations: 124.7 kB / 0.8561 GB, free: 15.45 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.0364, allocations: 31.91 kB / 0.8561 GB, free: 15.42 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/0.03668, allocations: 224.9 kB / 0.8563 GB, free: 15.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.03668, allocations: 4 kB / 0.8563 GB, free: 15.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.03669, allocations: 0 / 0.8563 GB, free: 15.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.03669, allocations: 0 / 0.8563 GB, free: 15.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.03683, allocations: 161.5 kB / 0.8565 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.03683, allocations: 0 / 0.8565 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001073/0.03694, allocations: 59.89 kB / 0.8565 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.03694, allocations: 0 / 0.8565 GB, free: 14.96 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.03696, allocations: 15.94 kB / 0.8565 GB, free: 14.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.03696, allocations: 4 kB / 0.8565 GB, free: 14.94 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.03696, allocations: 0 / 0.8565 GB, free: 14.94 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.03712, allocations: 179.5 kB / 0.8567 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.03718, allocations: 55.7 kB / 0.8568 GB, free: 14.69 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.03721, allocations: 11.94 kB / 0.8568 GB, free: 14.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/0.03726, allocations: 15.92 kB / 0.8568 GB, free: 14.66 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.927e-05/0.0373, allocations: 23.95 kB / 0.8568 GB, free: 14.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.03731, allocations: 8 kB / 0.8568 GB, free: 14.63 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.03736, allocations: 62.78 kB / 0.8569 GB, free: 14.57 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.03736, allocations: 4 kB / 0.8569 GB, free: 14.57 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001663/0.03753, allocations: 59.92 kB / 0.8569 GB, free: 14.51 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001015/0.03854, allocations: 439.9 kB / 0.8574 GB, free: 14.27 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000169/0.03871, allocations: 128.6 kB / 0.8575 GB, free: 14.14 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.03872, allocations: 0 / 0.8575 GB, free: 14.14 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.148e-05/0.0388, allocations: 84.67 kB / 0.8576 GB, free: 14.05 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.03893, allocations: 32.48 kB / 0.8576 GB, free: 14.02 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000589/0.03951, allocations: 414.8 kB / 0.858 GB, free: 13.59 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.286e-05/0.03957, allocations: 89.81 kB / 0.8581 GB, free: 13.48 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.03969, allocations: 78.95 kB / 0.8582 GB, free: 13.41 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.03982, allocations: 115.3 kB / 0.8583 GB, free: 13.29 MB / 0.823 GB Notification: Performance of SimCode: time 6.61e-07/0.03982, allocations: 0 / 0.8583 GB, free: 13.29 MB / 0.823 GB Notification: Performance of Templates: time 0.004787/0.04461, allocations: 3.144 MB / 0.8613 GB, free: 10.17 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.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.324450273066759]