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.007677/0.007677, allocations: 101 kB / 15.73 MB, free: 5.992 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.001798/0.001798, allocations: 196.2 kB / 16.67 MB, free: 5.93 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.713/2.713, allocations: 461.9 MB / 0.7348 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.91 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2993, allocations: 157.4 MB / 1.208 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002852/0.3022, allocations: 1.627 MB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3039, allocations: 1.172 MB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.428e-05/0.304, allocations: 0 / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.3042, allocations: 19.84 kB / 1.21 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.3045, allocations: 75.62 kB / 1.211 GB, free: 6.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003559/0.3049, allocations: 137.5 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.3052, allocations: 229.6 kB / 1.211 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3053, allocations: 24.19 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.027e-05/0.3054, allocations: 79.83 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.3056, allocations: 91.77 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.929e-05/0.3057, allocations: 20 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.3058, allocations: 75.91 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.361e-05/0.3059, allocations: 83.75 kB / 1.211 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.306, allocations: 99.39 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.3064, allocations: 291 kB / 1.212 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3064, allocations: 0 / 1.212 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3064, allocations: 0 / 1.212 GB, free: 5.691 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.3064, allocations: 0 / 1.212 GB, free: 5.691 MB / 0.9669 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.0007447/0.3071, allocations: 0.5306 MB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.3072, allocations: 12.03 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.941e-05/0.3073, allocations: 24.66 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.3076, allocations: 267.7 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.3076, allocations: 8.375 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.3076, allocations: 16.38 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003272/0.308, allocations: 222.4 kB / 1.213 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.308, allocations: 0 / 1.213 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.308, allocations: 12 kB / 1.213 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.308, allocations: 4 kB / 1.213 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.3088, allocations: 0.7334 MB / 1.213 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007268/0.3095, allocations: 0.5592 MB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.31, allocations: 296.1 kB / 1.214 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.3102, allocations: 105.4 kB / 1.214 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/0.3102, allocations: 20.25 kB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003518/0.3106, allocations: 188.6 kB / 1.215 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 1.664e-06/0.3106, allocations: 0 / 1.215 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.0006322/0.3112, allocations: 365.2 kB / 1.215 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.3113, allocations: 132.5 kB / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.3116, allocations: 308 kB / 1.215 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.3116, allocations: 29.7 kB / 1.215 GB, free: 1.664 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.3117, allocations: 120.8 kB / 1.215 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/0.3118, allocations: 114.4 kB / 1.216 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.761e-05/0.3119, allocations: 61.69 kB / 1.216 GB, free: 1.359 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.312, allocations: 342.8 kB / 1.216 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.3121, allocations: 83.94 kB / 1.216 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.3123, allocations: 139.6 kB / 1.216 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.3126, allocations: 205.3 kB / 1.216 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3126, allocations: 0 / 1.216 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003958/0.313, allocations: 281 kB / 1.217 GB, free: 308 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.313, allocations: 4 kB / 1.217 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3131, allocations: 0 / 1.217 GB, free: 304 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3131, allocations: 7.938 kB / 1.217 GB, free: 296 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.3133, allocations: 59.91 kB / 1.217 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.3133, allocations: 0 / 1.217 GB, free: 236 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000149/0.3135, allocations: 47.64 kB / 1.217 GB, free: 188 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.294e-05/0.3135, allocations: 8 kB / 1.217 GB, free: 180 kB / 0.9669 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.0001383/0.3136, allocations: 165.7 kB / 1.217 GB, free: 4 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.3137, allocations: 23.77 kB / 1.217 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006314/0.3144, allocations: 377.5 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.3144, allocations: 4 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3144, allocations: 0 / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.3144, allocations: 3.938 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.3147, allocations: 329.3 kB / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3147, allocations: 0 / 1.218 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.3149, allocations: 63.91 kB / 1.218 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3149, allocations: 4 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.3149, allocations: 8 kB / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3149, allocations: 0 / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3149, allocations: 0 / 1.218 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004336/0.3154, allocations: 326 kB / 1.218 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.3155, allocations: 136.7 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.3155, allocations: 16 kB / 1.218 GB, free: 14.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3157, allocations: 15.98 kB / 1.218 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.3157, allocations: 19.97 kB / 1.218 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-05/0.3158, allocations: 23.92 kB / 1.218 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001741/0.3159, allocations: 221.8 kB / 1.218 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.21e-07/0.316, allocations: 3.938 kB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002775/0.3162, allocations: 63.89 kB / 1.218 GB, free: 14.31 MB / 0.9825 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.0009483/0.3172, allocations: 418.7 kB / 1.219 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.3176, allocations: 231.6 kB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3176, allocations: 0 / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.3178, allocations: 135.8 kB / 1.219 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.3181, allocations: 26.73 kB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007411/0.3188, allocations: 0.4942 MB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.3191, allocations: 0.7542 MB / 1.22 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002971/0.3194, allocations: 146.9 kB / 1.221 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.196e-05/0.3195, allocations: 43.41 kB / 1.221 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of SimCode: time 3.61e-07/0.3195, allocations: 0 / 1.221 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of Templates: time 0.006144/0.3257, allocations: 3.026 MB / 1.224 GB, free: 9.164 MB / 0.9825 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/jenkins/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