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.001331/0.001331, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009804/0.0009804, allocations: 170 kB / 23.27 MB, free: 1.223 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.9729/0.9729, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.302/2.302, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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.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.222e-06/1.222e-06, allocations: 0 / 0.8898 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.644e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.77 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.005822/0.005839, allocations: 1.692 MB / 0.8914 GB, free: 8.066 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001496/0.007334, allocations: 1.41 MB / 0.8928 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.447e-05/0.007399, allocations: 0 / 0.8928 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.007597, allocations: 23.73 kB / 0.8928 GB, free: 6.625 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.003389/0.01099, allocations: 119.3 kB / 0.8929 GB, free: 6.508 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.01128, allocations: 135.5 kB / 0.8931 GB, free: 6.375 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.01153, allocations: 265.5 kB / 0.8933 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.028e-05/0.01163, allocations: 8 kB / 0.8933 GB, free: 6.105 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03912/0.05074, allocations: 9.707 MB / 0.9028 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.05086, allocations: 67.84 kB / 0.9029 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.594e-05/0.05088, allocations: 16 kB / 0.9029 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.05101, allocations: 63.91 kB / 0.9029 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 7.042e-05/0.05108, allocations: 79.75 kB / 0.903 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.05114, allocations: 63.81 kB / 0.9031 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.05145, allocations: 243 kB / 0.9033 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.05146, allocations: 0 / 0.9033 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.192e-06/0.05146, allocations: 0 / 0.9033 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.666e-06/0.05146, allocations: 0 / 0.9033 GB, free: 15.28 MB / 0.8698 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.0005108/0.05197, allocations: 0.5784 MB / 0.9039 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.052, allocations: 12.02 kB / 0.9039 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.05206, allocations: 44.75 kB / 0.9039 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.05227, allocations: 250.2 kB / 0.9042 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.05228, allocations: 8.703 kB / 0.9042 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.0523, allocations: 16.38 kB / 0.9042 GB, free: 14.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001865/0.05249, allocations: 232.2 kB / 0.9044 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.0525, allocations: 4.188 kB / 0.9044 GB, free: 14.04 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.05251, allocations: 12.12 kB / 0.9044 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.05252, allocations: 4 kB / 0.9044 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.05293, allocations: 0.5695 MB / 0.905 GB, free: 13.46 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.0534, allocations: 456.3 kB / 0.9054 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.0536, allocations: 169.3 kB / 0.9056 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.05365, allocations: 60.7 kB / 0.9056 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.308e-05/0.05369, allocations: 32.06 kB / 0.9057 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001351/0.05383, allocations: 130.7 kB / 0.9058 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.05383, allocations: 0 / 0.9058 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35): time 0.0002852/0.05412, allocations: 249.5 kB / 0.906 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.05417, allocations: 110.8 kB / 0.9061 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.05429, allocations: 272.2 kB / 0.9064 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.05431, allocations: 29.7 kB / 0.9064 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/0.05438, allocations: 183.4 kB / 0.9066 GB, free: 11.69 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.526e-05/0.05444, allocations: 119 kB / 0.9067 GB, free: 11.57 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/0.05451, allocations: 75.31 kB / 0.9068 GB, free: 11.49 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.05464, allocations: 0.5157 MB / 0.9073 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.406e-05/0.05469, allocations: 31.97 kB / 0.9073 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.183e-05/0.05478, allocations: 142.8 kB / 0.9075 GB, free: 10.77 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.0549, allocations: 111.4 kB / 0.9076 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.0549, allocations: 4 kB / 0.9076 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0001957/0.0551, allocations: 217.5 kB / 0.9078 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.05511, allocations: 11.59 kB / 0.9078 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.05511, allocations: 0 / 0.9078 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.05512, allocations: 0 / 0.9078 GB, free: 10.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.05526, allocations: 67.89 kB / 0.9078 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.05526, allocations: 0 / 0.9078 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.242e-05/0.05532, allocations: 27.83 kB / 0.9079 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.05533, allocations: 11.98 kB / 0.9079 GB, free: 10.32 MB / 0.8698 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 7.945e-05/0.05541, allocations: 176.5 kB / 0.9081 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.05545, allocations: 43.75 kB / 0.9081 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.05575, allocations: 284.8 kB / 0.9084 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.05575, allocations: 4 kB / 0.9084 GB, free: 9.801 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.05575, allocations: 4 kB / 0.9084 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.05576, allocations: 3.984 kB / 0.9084 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.0559, allocations: 193 kB / 0.9086 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.0559, allocations: 0 / 0.9086 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-05/0.05599, allocations: 59.91 kB / 0.9086 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.056, allocations: 3.938 kB / 0.9086 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.05602, allocations: 8 kB / 0.9086 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.05602, allocations: 4 kB / 0.9086 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.05602, allocations: 3.984 kB / 0.9086 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.05623, allocations: 254.7 kB / 0.9089 GB, free: 9.227 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.05629, allocations: 71.69 kB / 0.9089 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.05631, allocations: 11.94 kB / 0.909 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.093e-05/0.05636, allocations: 15.98 kB / 0.909 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.0564, allocations: 27.95 kB / 0.909 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.05641, allocations: 4 kB / 0.909 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001131/0.05652, allocations: 189.1 kB / 0.9092 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.05652, allocations: 0 / 0.9092 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001598/0.05668, allocations: 48 kB / 0.9092 GB, free: 8.867 MB / 0.8698 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.000658/0.05734, allocations: 351.2 kB / 0.9096 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001772/0.05752, allocations: 151.1 kB / 0.9097 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.05752, allocations: 0 / 0.9097 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.0576, allocations: 99.34 kB / 0.9098 GB, free: 8.383 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.05777, allocations: 44.47 kB / 0.9098 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006142/0.05838, allocations: 417.6 kB / 0.9102 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.477e-05/0.05842, allocations: 89.81 kB / 0.9103 GB, free: 7.793 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.05854, allocations: 86.88 kB / 0.9104 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.05867, allocations: 146.1 kB / 0.9106 GB, free: 7.562 MB / 0.8698 GB Notification: Performance of SimCode: time 5.61e-07/0.05867, allocations: 4 kB / 0.9106 GB, free: 7.559 MB / 0.8698 GB Notification: Performance of Templates: time 0.004594/0.06327, allocations: 3.093 MB / 0.9136 GB, free: 4.484 MB / 0.8698 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 -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.293558318167925]