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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|limCeiHei.u|limCeiHei.ceiHei",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 108.6 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009598/0.0009598, allocations: 188.7 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.219/1.219, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.322/2.322, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6288/0.6299, allocations: 157.4 MB / 1.208 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002373/0.6323, allocations: 1.637 MB / 1.21 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.6337, allocations: 1.167 MB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.6338, allocations: 0 / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.634, allocations: 27.8 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.6342, allocations: 59.69 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.6345, allocations: 135.6 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.6348, allocations: 233.6 kB / 1.212 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.22e-05/0.6349, allocations: 20.22 kB / 1.212 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.642e-05/0.635, allocations: 83.81 kB / 1.212 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.6351, allocations: 91.7 kB / 1.212 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.6352, allocations: 16 kB / 1.212 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.6353, allocations: 75.98 kB / 1.212 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.346e-05/0.6354, allocations: 83.8 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.643e-05/0.6355, allocations: 111.3 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.6358, allocations: 286.8 kB / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.6358, allocations: 0 / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6358, allocations: 0 / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.6358, allocations: 0 / 1.212 GB, free: 9.797 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006327/0.6364, allocations: 0.5209 MB / 1.213 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.709e-05/0.6365, allocations: 8.031 kB / 1.213 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.79e-05/0.6365, allocations: 32.56 kB / 1.213 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.6368, allocations: 263.8 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.6368, allocations: 16.31 kB / 1.213 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.493e-05/0.6368, allocations: 20.31 kB / 1.213 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003136/0.6372, allocations: 218.4 kB / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.6372, allocations: 0 / 1.213 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.6372, allocations: 4 kB / 1.213 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.6372, allocations: 4 kB / 1.213 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007637/0.638, allocations: 0.7412 MB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006745/0.6387, allocations: 0.563 MB / 1.215 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004273/0.6391, allocations: 303.6 kB / 1.215 GB, free: 6.957 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001378/0.6392, allocations: 109.4 kB / 1.215 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.6393, allocations: 20.19 kB / 1.215 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.6396, allocations: 180.9 kB / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 1.462e-06/0.6396, allocations: 0 / 1.215 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0005876/0.6402, allocations: 365.1 kB / 1.216 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.6402, allocations: 132.5 kB / 1.216 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.6405, allocations: 296.1 kB / 1.216 GB, free: 5.816 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.6405, allocations: 37.64 kB / 1.216 GB, free: 5.773 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.6406, allocations: 124.8 kB / 1.216 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.6407, allocations: 118.3 kB / 1.216 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.806e-05/0.6408, allocations: 65.69 kB / 1.216 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6409, allocations: 342.8 kB / 1.217 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.641, allocations: 79.95 kB / 1.217 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.6412, allocations: 127.2 kB / 1.217 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.6415, allocations: 210.4 kB / 1.217 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6415, allocations: 0 / 1.217 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003874/0.6419, allocations: 277.2 kB / 1.217 GB, free: 4.414 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.6419, allocations: 11.94 kB / 1.217 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.6419, allocations: 3.984 kB / 1.217 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.6419, allocations: 4 kB / 1.217 GB, free: 4.395 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.6421, allocations: 59.97 kB / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6421, allocations: 0 / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.6423, allocations: 31.7 kB / 1.217 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.6423, allocations: 8 kB / 1.217 GB, free: 4.297 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (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 (35): * Single equations (assignments): 35 * 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.0001333/0.6424, allocations: 161.8 kB / 1.218 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.6425, allocations: 31.61 kB / 1.218 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005901/0.6431, allocations: 381.6 kB / 1.218 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.6431, allocations: 8 kB / 1.218 GB, free: 3.711 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6431, allocations: 3.938 kB / 1.218 GB, free: 3.707 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.6431, allocations: 3.938 kB / 1.218 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002549/0.6434, allocations: 329.3 kB / 1.218 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.6434, allocations: 0 / 1.218 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.6435, allocations: 55.91 kB / 1.218 GB, free: 3.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.6436, allocations: 8 kB / 1.218 GB, free: 3.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.6436, allocations: 8 kB / 1.218 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6436, allocations: 0 / 1.218 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6436, allocations: 0 / 1.218 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.644, allocations: 330 kB / 1.219 GB, free: 2.918 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.6441, allocations: 144.6 kB / 1.219 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/0.6442, allocations: 8 kB / 1.219 GB, free: 2.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.6443, allocations: 15.92 kB / 1.219 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.725e-05/0.6443, allocations: 23.97 kB / 1.219 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.6444, allocations: 19.92 kB / 1.219 GB, free: 2.691 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001716/0.6445, allocations: 225.8 kB / 1.219 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6445, allocations: 0 / 1.219 GB, free: 2.473 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002579/0.6448, allocations: 59.91 kB / 1.219 GB, free: 2.414 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008202/0.6456, allocations: 408.8 kB / 1.22 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.646, allocations: 231.6 kB / 1.22 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.646, allocations: 0 / 1.22 GB, free: 1.926 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.6462, allocations: 127.9 kB / 1.22 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.6464, allocations: 38.14 kB / 1.22 GB, free: 1.766 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.6471, allocations: 0.5223 MB / 1.22 GB, free: 1.215 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.6474, allocations: 0.754 MB / 1.221 GB, free: 448 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.297e-05/0.6475, allocations: 51.42 kB / 1.221 GB, free: 396 kB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.6475, allocations: 4 kB / 1.221 GB, free: 392 kB / 0.9356 GB Notification: Performance of Templates: time 0.005674/0.6531, allocations: 4.23 MB / 1.225 GB, free: 12.17 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches