Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001144/0.001144, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009524/0.009525, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.523/1.523, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437.8 MB / 0.7121 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004012, allocations: 8 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8384/0.8388, allocations: 153.8 MB / 1.023 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002154/0.841, allocations: 1.351 MB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.8428, allocations: 1.125 MB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.8429, allocations: 0 / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.8431, allocations: 27.84 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.8433, allocations: 47.84 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003104/0.8437, allocations: 119.6 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002749/0.8439, allocations: 217.6 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.8441, allocations: 32.12 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.883e-05/0.8442, allocations: 71.77 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.8444, allocations: 85.48 kB / 1.026 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.8444, allocations: 8 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.8446, allocations: 63.97 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.8447, allocations: 71.75 kB / 1.026 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.8448, allocations: 121 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.8451, allocations: 265.1 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.8451, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8451, allocations: 4 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.8451, allocations: 0 / 1.027 GB, free: 12.29 MB / 0.7794 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.0006973/0.8458, allocations: 495.5 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.8459, allocations: 12.03 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.364e-05/0.8459, allocations: 28.56 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.8462, allocations: 263.7 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.246e-05/0.8463, allocations: 16.38 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.8463, allocations: 12.38 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.8467, allocations: 220.6 kB / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8467, allocations: 0 / 1.028 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.8467, allocations: 12 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.802e-06/0.8467, allocations: 4 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008825/0.8476, allocations: 0.7334 MB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007976/0.8484, allocations: 0.5705 MB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.8489, allocations: 300.2 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/0.849, allocations: 101.4 kB / 1.029 GB, free: 9.375 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.564e-05/0.8491, allocations: 20.25 kB / 1.029 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003236/0.8494, allocations: 180.9 kB / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 3.737e-06/0.8494, allocations: 0 / 1.029 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0006376/0.8501, allocations: 369.1 kB / 1.03 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.8502, allocations: 132.5 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002915/0.8505, allocations: 304 kB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.8505, allocations: 29.7 kB / 1.03 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.103e-05/0.8506, allocations: 124.7 kB / 1.03 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.769e-05/0.8507, allocations: 114.3 kB / 1.03 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.8507, allocations: 37.7 kB / 1.03 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8509, allocations: 334.8 kB / 1.031 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.851, allocations: 79.95 kB / 1.031 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.8512, allocations: 124.6 kB / 1.031 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/0.8515, allocations: 221 kB / 1.031 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.8516, allocations: 0 / 1.031 GB, free: 7.246 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004057/0.852, allocations: 277.2 kB / 1.031 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.852, allocations: 11.94 kB / 1.031 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.852, allocations: 0 / 1.031 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.852, allocations: 3.938 kB / 1.031 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000215/0.8522, allocations: 67.91 kB / 1.032 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.8523, allocations: 4 kB / 1.032 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.8524, allocations: 27.77 kB / 1.032 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.8524, allocations: 12 kB / 1.032 GB, free: 6.844 MB / 0.7794 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.0001529/0.8526, allocations: 157.8 kB / 1.032 GB, free: 6.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.659e-05/0.8527, allocations: 27.72 kB / 1.032 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006585/0.8533, allocations: 389.5 kB / 1.032 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8533, allocations: 4 kB / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.8533, allocations: 0 / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.8534, allocations: 3.938 kB / 1.032 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.8537, allocations: 333.2 kB / 1.032 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8537, allocations: 0 / 1.032 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.8539, allocations: 55.97 kB / 1.032 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/0.8539, allocations: 4 kB / 1.032 GB, free: 5.824 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.8539, allocations: 15.94 kB / 1.033 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.8539, allocations: 0 / 1.033 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8539, allocations: 0 / 1.033 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004362/0.8544, allocations: 321.8 kB / 1.033 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.8545, allocations: 144.6 kB / 1.033 GB, free: 5.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.8545, allocations: 8 kB / 1.033 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.8547, allocations: 23.98 kB / 1.033 GB, free: 5.285 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.8548, allocations: 23.91 kB / 1.033 GB, free: 5.262 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.8548, allocations: 15.98 kB / 1.033 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000208/0.855, allocations: 229.6 kB / 1.033 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.855, allocations: 0 / 1.033 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002824/0.8553, allocations: 59.98 kB / 1.033 GB, free: 4.965 MB / 0.7794 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.0009701/0.8563, allocations: 401.8 kB / 1.034 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003699/0.8567, allocations: 235.9 kB / 1.034 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.8567, allocations: 0 / 1.034 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001877/0.8569, allocations: 128.4 kB / 1.034 GB, free: 4.355 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.8571, allocations: 30.03 kB / 1.034 GB, free: 4.328 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008183/0.858, allocations: 0.5863 MB / 1.035 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.8583, allocations: 0.7535 MB / 1.035 GB, free: 2.938 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003095/0.8586, allocations: 146.8 kB / 1.036 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.036e-05/0.8587, allocations: 43.42 kB / 1.036 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.8587, allocations: 3.938 kB / 1.036 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of Templates: time 0.006327/0.865, allocations: 2.84 MB / 1.038 GB, free: 15.92 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches