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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001418/0.001418, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.409/1.409, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.859/2.859, allocations: 472.6 MB / 0.7451 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002249, allocations: 66 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3659, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003276/0.3692, allocations: 1.634 MB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001786/0.371, allocations: 1.156 MB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.419e-05/0.3711, allocations: 0 / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002999/0.3714, allocations: 35.78 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.3718, allocations: 71.19 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.3721, allocations: 131.6 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.3724, allocations: 233.6 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3726, allocations: 20.2 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.057e-05/0.3727, allocations: 75.83 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.3729, allocations: 101.7 kB / 1.072 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.373, allocations: 20 kB / 1.072 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.3731, allocations: 79.95 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3732, allocations: 75.75 kB / 1.072 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3733, allocations: 103.4 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.3737, allocations: 275.4 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3737, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3737, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.3737, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 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.0007496/0.3744, allocations: 0.5306 MB / 1.073 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3745, allocations: 8.031 kB / 1.073 GB, free: 5.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.123e-05/0.3746, allocations: 32.55 kB / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.3749, allocations: 263.7 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.3749, allocations: 12.38 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.3749, allocations: 12.38 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.3753, allocations: 222.7 kB / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.3753, allocations: 0 / 1.073 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/0.3753, allocations: 8 kB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3753, allocations: 4 kB / 1.073 GB, free: 5.223 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008975/0.3762, allocations: 0.7451 MB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007743/0.377, allocations: 0.5666 MB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.3775, allocations: 312 kB / 1.075 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3776, allocations: 101.4 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.4e-05/0.3777, allocations: 20.25 kB / 1.075 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003341/0.378, allocations: 172.9 kB / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.378, allocations: 0 / 1.075 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0006191/0.3787, allocations: 369.9 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.957e-05/0.3787, allocations: 136.5 kB / 1.076 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.379, allocations: 308 kB / 1.076 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.3791, allocations: 33.7 kB / 1.076 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.3791, allocations: 116.8 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.405e-05/0.3792, allocations: 114.4 kB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.3793, allocations: 65.67 kB / 1.076 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3794, allocations: 338.8 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.3796, allocations: 79.95 kB / 1.077 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.3798, allocations: 143.2 kB / 1.077 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003077/0.3801, allocations: 210.4 kB / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3801, allocations: 0 / 1.077 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004275/0.3805, allocations: 277.1 kB / 1.077 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3805, allocations: 4 kB / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3806, allocations: 0 / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3806, allocations: 0 / 1.077 GB, free: 1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.3808, allocations: 63.91 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/0.3808, allocations: 4 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.381, allocations: 37.67 kB / 1.077 GB, free: 0.8984 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.381, allocations: 15.98 kB / 1.077 GB, free: 0.8828 MB / 0.8262 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.0001507/0.3812, allocations: 163.5 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.3812, allocations: 27.62 kB / 1.077 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006348/0.3819, allocations: 380.7 kB / 1.078 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3819, allocations: 8 kB / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3819, allocations: 0 / 1.078 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.3819, allocations: 7.922 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003072/0.3822, allocations: 325.3 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3822, allocations: 0 / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.3824, allocations: 55.91 kB / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.3824, allocations: 0 / 1.078 GB, free: 15.87 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.3824, allocations: 12 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3824, allocations: 11.97 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3824, allocations: 0 / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.3829, allocations: 317.7 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.383, allocations: 144.8 kB / 1.079 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.3831, allocations: 15.92 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.3832, allocations: 15.98 kB / 1.079 GB, free: 15.33 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.3833, allocations: 23.97 kB / 1.079 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.3833, allocations: 15.92 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001816/0.3835, allocations: 229.8 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3835, allocations: 4 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002822/0.3838, allocations: 63.89 kB / 1.079 GB, free: 15 MB / 0.8419 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.0009357/0.3847, allocations: 396.5 kB / 1.079 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004879/0.3852, allocations: 304.1 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3853, allocations: 0 / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001843/0.3854, allocations: 127.8 kB / 1.08 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.3857, allocations: 37.59 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007512/0.3865, allocations: 0.4972 MB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.3868, allocations: 0.7618 MB / 1.081 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002878/0.3871, allocations: 142.8 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/0.3871, allocations: 43.36 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.3872, allocations: 4 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.006235/0.3934, allocations: 2.962 MB / 1.084 GB, free: 9.852 MB / 0.8419 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