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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00826/0.00826, allocations: 101.6 kB / 15.88 MB, free: 5.867 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.00197/0.00197, allocations: 191.9 kB / 16.79 MB, free: 5.809 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.467/1.467, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 461.9 MB / 0.7348 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 64.89 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3685, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00357/0.3721, allocations: 1.696 MB / 1.054 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3741, allocations: 1.136 MB / 1.056 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.819e-05/0.3742, allocations: 0 / 1.056 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.3746, allocations: 23.91 kB / 1.056 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.3749, allocations: 55.78 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.3753, allocations: 126.3 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.3756, allocations: 213.6 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.3757, allocations: 24.2 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.3759, allocations: 67.83 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.3762, allocations: 101.2 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.485e-05/0.3762, allocations: 8 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.3764, allocations: 71.97 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3766, allocations: 67.81 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.3767, allocations: 91.39 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.377, allocations: 203.8 kB / 1.057 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.377, allocations: 0 / 1.057 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.81e-07/0.377, allocations: 0 / 1.057 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.485e-06/0.377, allocations: 0 / 1.057 GB, free: 4.434 MB / 0.8106 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.0009733/0.378, allocations: 0.5346 MB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.3781, allocations: 11.97 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.898e-05/0.3782, allocations: 24.66 kB / 1.057 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.3785, allocations: 267.7 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.027e-05/0.3785, allocations: 12.38 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.3786, allocations: 12.38 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.379, allocations: 220.9 kB / 1.058 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.379, allocations: 4 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.379, allocations: 4 kB / 1.058 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.379, allocations: 4 kB / 1.058 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009023/0.3799, allocations: 0.7372 MB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008915/0.3808, allocations: 0.5628 MB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/0.3814, allocations: 303.6 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.3815, allocations: 101.4 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.86e-05/0.3816, allocations: 28.23 kB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000322/0.3819, allocations: 168.9 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=34): time 4.017e-06/0.3819, allocations: 7.938 kB / 1.059 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.0006993/0.3826, allocations: 373 kB / 1.06 GB, free: 0.8984 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.3827, allocations: 136.5 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.383, allocations: 300 kB / 1.06 GB, free: 440 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.3831, allocations: 33.7 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.3832, allocations: 128.7 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.3833, allocations: 110.5 kB / 1.06 GB, free: 156 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.636e-05/0.3834, allocations: 57.69 kB / 1.061 GB, free: 92 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.3836, allocations: 342.8 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3837, allocations: 79.95 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.3839, allocations: 123.4 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.3843, allocations: 222.2 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3843, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000477/0.3848, allocations: 281 kB / 1.062 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3848, allocations: 4 kB / 1.062 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3848, allocations: 3.984 kB / 1.062 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3848, allocations: 0 / 1.062 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.385, allocations: 59.91 kB / 1.062 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3851, allocations: 8 kB / 1.062 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.3852, allocations: 35.7 kB / 1.062 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.379e-05/0.3853, allocations: 8 kB / 1.062 GB, free: 14.92 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.0001768/0.3854, allocations: 161.8 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.3855, allocations: 23.72 kB / 1.062 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006894/0.3862, allocations: 380.5 kB / 1.062 GB, free: 14.35 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.3862, allocations: 7.984 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3862, allocations: 0 / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3862, allocations: 3.938 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.3866, allocations: 329.2 kB / 1.062 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3866, allocations: 3.984 kB / 1.062 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.3868, allocations: 55.92 kB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.3868, allocations: 0 / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.3868, allocations: 11.98 kB / 1.063 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3868, allocations: 4 kB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3868, allocations: 0 / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.3873, allocations: 331.1 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.3875, allocations: 140.7 kB / 1.063 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.3875, allocations: 8 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.3877, allocations: 19.92 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.617e-05/0.3877, allocations: 19.97 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.3878, allocations: 15.94 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002114/0.388, allocations: 237.6 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.388, allocations: 0 / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003001/0.3883, allocations: 59.94 kB / 1.063 GB, free: 13.05 MB / 0.8262 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.001035/0.3893, allocations: 404 kB / 1.064 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004234/0.3898, allocations: 231.8 kB / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3898, allocations: 0 / 1.064 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001998/0.39, allocations: 131.8 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.3903, allocations: 32.66 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009281/0.3912, allocations: 0.61 MB / 1.065 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.3916, allocations: 0.7613 MB / 1.065 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.3917, allocations: 47.42 kB / 1.066 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.3917, allocations: 0 / 1.066 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.007518/0.3992, allocations: 4.188 MB / 1.07 GB, free: 6.746 MB / 0.8262 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