Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001946/0.001946, allocations: 83.69 kB / 20.23 MB, free: 4.191 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.002155/0.002155, allocations: 161.3 kB / 23.55 MB, free: 0.875 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.589/1.589, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.048/3.048, allocations: 377.8 MB / 0.6232 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.911e-05/3.099e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.094 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.004852/0.004883, allocations: 1.69 MB / 0.8125 GB, free: 428 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003305/0.008188, allocations: 1.383 MB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.008293, allocations: 0.8125 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.008582, allocations: 23.78 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006327/0.009215, allocations: 120.3 kB / 0.814 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.009799, allocations: 141 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005269/0.01033, allocations: 249.6 kB / 0.8143 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.01045, allocations: 13.73 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.01074, allocations: 123.8 kB / 0.8145 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.01109, allocations: 83.81 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.27e-05/0.01116, allocations: 16 kB / 0.8146 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003514/0.01152, allocations: 124.9 kB / 0.8147 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.01169, allocations: 87.72 kB / 0.8148 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.01184, allocations: 71.77 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007974/0.01264, allocations: 352.2 kB / 0.8152 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.01264, allocations: 4 kB / 0.8152 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01264, allocations: 0 / 0.8152 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.01266, allocations: 0 / 0.8152 GB, free: 13.65 MB / 0.7761 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.001368/0.01402, allocations: 0.5914 MB / 0.8157 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.01406, allocations: 8.031 kB / 0.8157 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.01423, allocations: 40.8 kB / 0.8158 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004887/0.01472, allocations: 227.5 kB / 0.816 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.01476, allocations: 17.98 kB / 0.816 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.904e-05/0.01481, allocations: 16.38 kB / 0.816 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006167/0.01543, allocations: 296.9 kB / 0.8163 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.01544, allocations: 192 / 0.8163 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.612e-05/0.01548, allocations: 8.656 kB / 0.8163 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.01549, allocations: 5.906 kB / 0.8163 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.01665, allocations: 0.6634 MB / 0.817 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001188/0.01784, allocations: 0.5435 MB / 0.8175 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.01835, allocations: 228.8 kB / 0.8177 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.01851, allocations: 83.12 kB / 0.8178 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.134e-05/0.01856, allocations: 24.2 kB / 0.8178 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003328/0.01889, allocations: 158.7 kB / 0.818 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=35): time 1.874e-06/0.01889, allocations: 0 / 0.818 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35): time 0.0007319/0.01963, allocations: 323.1 kB / 0.8183 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.01974, allocations: 140.4 kB / 0.8184 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/0.02015, allocations: 329 kB / 0.8187 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.0202, allocations: 33.7 kB / 0.8188 GB, free: 9.734 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.02036, allocations: 180 kB / 0.8189 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.02051, allocations: 132.6 kB / 0.8191 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.02065, allocations: 75.34 kB / 0.8191 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003696/0.02102, allocations: 0.5274 MB / 0.8197 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.02118, allocations: 63.97 kB / 0.8197 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.02148, allocations: 206.4 kB / 0.8199 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006013/0.02208, allocations: 179.8 kB / 0.8201 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.02208, allocations: 1.281 kB / 0.8201 GB, free: 8.328 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005355/0.02262, allocations: 268.6 kB / 0.8203 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.02263, allocations: 4 kB / 0.8203 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.02264, allocations: 1.156 kB / 0.8204 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/0.02267, allocations: 4 kB / 0.8204 GB, free: 8.051 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002687/0.02294, allocations: 67.89 kB / 0.8204 GB, free: 7.984 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.02295, allocations: 4.5 kB / 0.8204 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.0231, allocations: 23.84 kB / 0.8204 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/0.02313, allocations: 16.48 kB / 0.8205 GB, free: 7.941 MB / 0.7761 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 0.0001799/0.02331, allocations: 181.3 kB / 0.8206 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.0234, allocations: 40.64 kB / 0.8207 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008428/0.02424, allocations: 341.6 kB / 0.821 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.238e-06/0.02425, allocations: 8.031 kB / 0.821 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.02425, allocations: 0 / 0.821 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.02426, allocations: 3.984 kB / 0.821 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003747/0.02464, allocations: 252.4 kB / 0.8213 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.02464, allocations: 2.094 kB / 0.8213 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.02484, allocations: 59.91 kB / 0.8213 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.02485, allocations: 0 / 0.8213 GB, free: 7.027 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.02487, allocations: 8 kB / 0.8213 GB, free: 7.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.02488, allocations: 4 kB / 0.8213 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.02488, allocations: 0 / 0.8213 GB, free: 7.016 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005648/0.02544, allocations: 318.3 kB / 0.8216 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000161/0.0256, allocations: 65.42 kB / 0.8217 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.02565, allocations: 8 kB / 0.8217 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.02578, allocations: 15.98 kB / 0.8217 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.575e-05/0.02585, allocations: 27.81 kB / 0.8217 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.02588, allocations: 12 kB / 0.8217 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003499/0.02623, allocations: 229.6 kB / 0.822 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02623, allocations: 1.344 kB / 0.822 GB, free: 6.336 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003696/0.0266, allocations: 75.86 kB / 0.822 GB, free: 6.262 MB / 0.7761 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.003074/0.02967, allocations: 0.489 MB / 0.8225 GB, free: 5.965 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004738/0.03015, allocations: 199.7 kB / 0.8227 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.03015, allocations: 0 / 0.8227 GB, free: 5.766 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.03039, allocations: 129.4 kB / 0.8228 GB, free: 5.637 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.03072, allocations: 56.61 kB / 0.8229 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009611/0.03168, allocations: 454.4 kB / 0.8233 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.03185, allocations: 146.7 kB / 0.8235 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003283/0.03218, allocations: 130.9 kB / 0.8236 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.0323, allocations: 52.48 kB / 0.8236 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.0323, allocations: 0 / 0.8236 GB, free: 4.777 MB / 0.7761 GB Notification: Performance of Templates: time 0.009465/0.04176, allocations: 3.435 MB / 0.827 GB, free: 1.375 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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: 8.383434747927822]