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.001944/0.001944, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002552/0.002552, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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.53/1.53, allocations: 177.1 MB / 203.9 MB, free: 5.594 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 2.944/2.944, allocations: 377.8 MB / 0.6232 GB, free: 8.516 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 2.124e-06/2.124e-06, allocations: 0 / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.771e-05/3.983e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003898/0.003938, allocations: 1.656 MB / 0.8124 GB, free: 420 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003798/0.007736, allocations: 1.373 MB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.007867, allocations: 3.938 kB / 0.8138 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.008202, allocations: 24.56 kB / 0.8138 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000672/0.008874, allocations: 121.1 kB / 0.8139 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.009429, allocations: 131.6 kB / 0.8141 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004557/0.009885, allocations: 263 kB / 0.8143 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.01001, allocations: 15.98 kB / 0.8143 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.01025, allocations: 119.8 kB / 0.8144 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.01052, allocations: 77.72 kB / 0.8145 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.424e-05/0.01058, allocations: 21.06 kB / 0.8145 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003168/0.01089, allocations: 123.8 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.01104, allocations: 87.73 kB / 0.8147 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.01115, allocations: 69.41 kB / 0.8148 GB, free: 14 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000714/0.01187, allocations: 354.7 kB / 0.8151 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01187, allocations: 0 / 0.8151 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.644e-06/0.01187, allocations: 0 / 0.8151 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.01188, allocations: 0.7188 kB / 0.8151 GB, free: 13.66 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.001135/0.01302, allocations: 0.4906 MB / 0.8156 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.01306, allocations: 8.031 kB / 0.8156 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.01322, allocations: 38.42 kB / 0.8157 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004245/0.01364, allocations: 220.7 kB / 0.8159 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.404e-05/0.01367, allocations: 16.7 kB / 0.8159 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.01371, allocations: 16.38 kB / 0.8159 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.01424, allocations: 302.1 kB / 0.8162 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.01425, allocations: 192 / 0.8162 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.01428, allocations: 12.81 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.01429, allocations: 4 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.01535, allocations: 0.6914 MB / 0.8169 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.01648, allocations: 493.2 kB / 0.8174 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006933/0.01717, allocations: 293 kB / 0.8176 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.01739, allocations: 99.31 kB / 0.8177 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.06e-05/0.01745, allocations: 16.27 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.01789, allocations: 173 kB / 0.8179 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=35): time 1.893e-06/0.01789, allocations: 1.75 kB / 0.8179 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35): time 0.0008737/0.01877, allocations: 391.1 kB / 0.8183 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.01889, allocations: 140.5 kB / 0.8184 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.01933, allocations: 313.7 kB / 0.8187 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.01937, allocations: 35.92 kB / 0.8187 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.0195, allocations: 128.8 kB / 0.8189 GB, free: 9.641 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.01963, allocations: 119 kB / 0.819 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.01975, allocations: 65.69 kB / 0.819 GB, free: 9.453 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.01996, allocations: 338.8 kB / 0.8194 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.02014, allocations: 83.95 kB / 0.8194 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.02043, allocations: 220.8 kB / 0.8197 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004067/0.02084, allocations: 221 kB / 0.8199 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.02084, allocations: 0 / 0.8199 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000717/0.02156, allocations: 304.9 kB / 0.8202 GB, free: 8.266 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.02158, allocations: 8 kB / 0.8202 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.02159, allocations: 0 / 0.8202 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.487e-05/0.02161, allocations: 0 / 0.8202 GB, free: 8.258 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.02187, allocations: 59.91 kB / 0.8202 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.02188, allocations: 1.281 kB / 0.8202 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.02206, allocations: 33.09 kB / 0.8203 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.02209, allocations: 12 kB / 0.8203 GB, free: 8.156 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.0002186/0.02231, allocations: 170.3 kB / 0.8204 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.291e-05/0.02239, allocations: 36.42 kB / 0.8205 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007963/0.02319, allocations: 393.2 kB / 0.8208 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.0232, allocations: 4 kB / 0.8208 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.0232, allocations: 0 / 0.8208 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.02321, allocations: 4.516 kB / 0.8209 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.02354, allocations: 233 kB / 0.8211 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.02355, allocations: 0.8125 kB / 0.8211 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.02374, allocations: 59.91 kB / 0.8211 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.02374, allocations: 0.9375 kB / 0.8211 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.02377, allocations: 11.98 kB / 0.8211 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.02377, allocations: 1.219 kB / 0.8211 GB, free: 7.223 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02377, allocations: 4 kB / 0.8211 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005854/0.02436, allocations: 342.6 kB / 0.8215 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.02449, allocations: 67.73 kB / 0.8215 GB, free: 6.801 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.02453, allocations: 4.844 kB / 0.8215 GB, free: 6.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.02468, allocations: 16.73 kB / 0.8216 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.63e-05/0.02476, allocations: 35.75 kB / 0.8216 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/0.02479, allocations: 13.16 kB / 0.8216 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002747/0.02506, allocations: 241.2 kB / 0.8218 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.02506, allocations: 0 / 0.8218 GB, free: 6.504 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003375/0.0254, allocations: 80.83 kB / 0.8219 GB, free: 6.426 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.002082/0.02748, allocations: 498.1 kB / 0.8224 GB, free: 6.133 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004912/0.02797, allocations: 228 kB / 0.8226 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.02798, allocations: 0 / 0.8226 GB, free: 5.91 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.02822, allocations: 131.7 kB / 0.8227 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.02853, allocations: 46.25 kB / 0.8228 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.02959, allocations: 0.5225 MB / 0.8233 GB, free: 5.188 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.02978, allocations: 150.7 kB / 0.8234 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000345/0.03013, allocations: 142.9 kB / 0.8236 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.03023, allocations: 40.48 kB / 0.8236 GB, free: 4.844 MB / 0.7761 GB Notification: Performance of SimCode: time 5.51e-07/0.03023, allocations: 4 kB / 0.8236 GB, free: 4.84 MB / 0.7761 GB Notification: Performance of Templates: time 0.009077/0.03931, allocations: 3.457 MB / 0.827 GB, free: 1.414 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 400] 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.167786372941919]