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.0009737/0.0009737, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.000931/0.000931, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9353/0.9353, allocations: 177.1 MB / 204.2 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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 1.847/1.847, allocations: 377.8 MB / 0.6236 GB, free: 8.582 MB / 0.5886 GB " [Timeout remaining time 178] 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.703e-06/1.703e-06, allocations: 0 / 0.8116 GB, free: 1.613 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.655e-05, allocations: 6.25 kB / 0.8116 GB, free: 1.605 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002329/0.002355, allocations: 1.705 MB / 0.8132 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001544/0.0039, allocations: 1.415 MB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.166e-05/0.003991, allocations: 0 / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.00427, allocations: 31.72 kB / 0.8146 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004515/0.004721, allocations: 120.5 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003365/0.005058, allocations: 132.9 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002678/0.005326, allocations: 249.6 kB / 0.8151 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.005421, allocations: 12.52 kB / 0.8151 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03126/0.03668, allocations: 10.45 MB / 0.8253 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.03684, allocations: 75.77 kB / 0.8254 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.03688, allocations: 16 kB / 0.8254 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.03704, allocations: 59.92 kB / 0.8255 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.235e-05/0.03713, allocations: 83.8 kB / 0.8256 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.949e-05/0.03722, allocations: 67.75 kB / 0.8256 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.03762, allocations: 235.1 kB / 0.8258 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.03762, allocations: 0 / 0.8258 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.903e-06/0.03763, allocations: 0 / 0.8258 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.03763, allocations: 3.938 kB / 0.8258 GB, free: 6.73 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.0007073/0.03834, allocations: 0.5668 MB / 0.8264 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.03838, allocations: 12.03 kB / 0.8264 GB, free: 6.109 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.892e-05/0.03848, allocations: 40.8 kB / 0.8265 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.03881, allocations: 254.1 kB / 0.8267 GB, free: 5.793 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.03883, allocations: 12.7 kB / 0.8267 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.03886, allocations: 20.38 kB / 0.8267 GB, free: 5.762 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.03917, allocations: 248.1 kB / 0.827 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.03918, allocations: 192 / 0.827 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.156e-05/0.0392, allocations: 8.125 kB / 0.827 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.03921, allocations: 4 kB / 0.827 GB, free: 5.477 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006609/0.03987, allocations: 0.6321 MB / 0.8276 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007329/0.04061, allocations: 495.6 kB / 0.8281 GB, free: 4.32 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.04094, allocations: 185.8 kB / 0.8282 GB, free: 4.129 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/0.04104, allocations: 56.22 kB / 0.8283 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.04108, allocations: 20.27 kB / 0.8283 GB, free: 4.051 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000228/0.04131, allocations: 138.7 kB / 0.8284 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=35): time 1.884e-06/0.04131, allocations: 0 / 0.8284 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35): time 0.0005323/0.04184, allocations: 275.1 kB / 0.8287 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.0419, allocations: 110.8 kB / 0.8288 GB, free: 3.496 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.04212, allocations: 276.3 kB / 0.8291 GB, free: 3.211 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.04215, allocations: 33.7 kB / 0.8291 GB, free: 3.172 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.04224, allocations: 179.4 kB / 0.8293 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.606e-05/0.04233, allocations: 111 kB / 0.8294 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.549e-05/0.04242, allocations: 79.34 kB / 0.8295 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002035/0.04263, allocations: 0.5079 MB / 0.83 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.661e-05/0.04272, allocations: 43.91 kB / 0.83 GB, free: 2.234 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.04288, allocations: 150.2 kB / 0.8301 GB, free: 2.062 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002135/0.04309, allocations: 129.8 kB / 0.8303 GB, free: 1.934 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.04309, allocations: 4 kB / 0.8303 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003353/0.04343, allocations: 233.3 kB / 0.8305 GB, free: 1.695 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.04344, allocations: 4 kB / 0.8305 GB, free: 1.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.04345, allocations: 0 / 0.8305 GB, free: 1.691 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.04347, allocations: 4 kB / 0.8305 GB, free: 1.688 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.04368, allocations: 63.91 kB / 0.8306 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.04369, allocations: 4 kB / 0.8306 GB, free: 1.621 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.201e-05/0.04378, allocations: 23.83 kB / 0.8306 GB, free: 1.598 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.0438, allocations: 16 kB / 0.8306 GB, free: 1.582 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.000117/0.04392, allocations: 184.4 kB / 0.8308 GB, free: 1.391 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.04397, allocations: 43.84 kB / 0.8308 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004762/0.04445, allocations: 304.7 kB / 0.8311 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.04445, allocations: 8 kB / 0.8311 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.04446, allocations: 0 / 0.8311 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.04446, allocations: 0 / 0.8311 GB, free: 1.039 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.04468, allocations: 240.3 kB / 0.8313 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.04468, allocations: 0 / 0.8313 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001495/0.04483, allocations: 55.91 kB / 0.8314 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.04483, allocations: 0 / 0.8314 GB, free: 0.7148 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.698e-05/0.04485, allocations: 8 kB / 0.8314 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.04485, allocations: 7.938 kB / 0.8314 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.04486, allocations: 0 / 0.8314 GB, free: 0.6992 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.04527, allocations: 273.9 kB / 0.8317 GB, free: 416 kB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/0.04536, allocations: 71.73 kB / 0.8317 GB, free: 344 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.04539, allocations: 4 kB / 0.8318 GB, free: 340 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.04546, allocations: 15.98 kB / 0.8318 GB, free: 324 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.04552, allocations: 27.89 kB / 0.8318 GB, free: 296 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.04553, allocations: 8 kB / 0.8318 GB, free: 288 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001117/0.04565, allocations: 197.1 kB / 0.832 GB, free: 96 kB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.04565, allocations: 0 / 0.832 GB, free: 96 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002571/0.0459, allocations: 44 kB / 0.832 GB, free: 52 kB / 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.0009027/0.04681, allocations: 359.4 kB / 0.8324 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003024/0.04711, allocations: 167.5 kB / 0.8325 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.04711, allocations: 0 / 0.8325 GB, free: 15.64 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.04725, allocations: 103.5 kB / 0.8326 GB, free: 15.54 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.0475, allocations: 48.36 kB / 0.8327 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008513/0.04835, allocations: 428.8 kB / 0.8331 GB, free: 15.04 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.756e-05/0.04842, allocations: 93.67 kB / 0.8332 GB, free: 14.93 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002536/0.04867, allocations: 142.8 kB / 0.8333 GB, free: 14.79 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.083e-05/0.04876, allocations: 52.47 kB / 0.8334 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of SimCode: time 8.52e-07/0.04876, allocations: 0 / 0.8334 GB, free: 14.73 MB / 0.7917 GB Notification: Performance of Templates: time 0.006374/0.05514, allocations: 3.006 MB / 0.8363 GB, free: 11.75 MB / 0.7917 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","",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.262943575158715]