Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001615/0.001615, allocations: 111.8 kB / 15.99 MB, free: 5.906 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.001778/0.001778, allocations: 190.8 kB / 16.91 MB, free: 5.754 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.446/1.446, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.739/2.739, allocations: 469.8 MB / 0.7427 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 68.42 kB / 0.9087 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3457, allocations: 159.1 MB / 1.064 GB, free: 15.09 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003526/0.3492, allocations: 1.692 MB / 1.066 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001758/0.351, allocations: 1.135 MB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.559e-05/0.3511, allocations: 4 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.3514, allocations: 19.91 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.3517, allocations: 67.75 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.352, allocations: 111 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.3523, allocations: 241.6 kB / 1.067 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.3525, allocations: 12.23 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3526, allocations: 87.75 kB / 1.067 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.3528, allocations: 91.77 kB / 1.068 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.745e-05/0.3528, allocations: 19.94 kB / 1.068 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.353, allocations: 83.91 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.3531, allocations: 79.81 kB / 1.068 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.3532, allocations: 99.39 kB / 1.068 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.3535, allocations: 203.8 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3535, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3535, allocations: 3.938 kB / 1.068 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3535, allocations: 0 / 1.068 GB, free: 11.14 MB / 0.8419 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.000818/0.3543, allocations: 0.5292 MB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3544, allocations: 8.625 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.787e-05/0.3545, allocations: 32.56 kB / 1.069 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.3548, allocations: 267.7 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.29e-05/0.3548, allocations: 12.38 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.3549, allocations: 16.38 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000385/0.3553, allocations: 220.8 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3553, allocations: 0 / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.3553, allocations: 8 kB / 1.069 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.3553, allocations: 4 kB / 1.069 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009315/0.3563, allocations: 0.7373 MB / 1.07 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.3571, allocations: 0.5667 MB / 1.07 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005126/0.3577, allocations: 307.5 kB / 1.071 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.3578, allocations: 105.4 kB / 1.071 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 4.764e-05/0.3579, allocations: 20.25 kB / 1.071 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/0.3582, allocations: 172.9 kB / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 1.753e-06/0.3583, allocations: 0 / 1.071 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0006986/0.359, allocations: 370 kB / 1.071 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/0.3591, allocations: 132.5 kB / 1.071 GB, free: 7.449 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003069/0.3594, allocations: 303.9 kB / 1.072 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.3594, allocations: 37.69 kB / 1.072 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.97e-05/0.3595, allocations: 124.7 kB / 1.072 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.3596, allocations: 110.4 kB / 1.072 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.3598, allocations: 65.69 kB / 1.072 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.3599, allocations: 342.8 kB / 1.072 GB, free: 6.449 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3601, allocations: 83.95 kB / 1.072 GB, free: 6.367 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/0.3603, allocations: 132.4 kB / 1.073 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.3606, allocations: 212.5 kB / 1.073 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3607, allocations: 0 / 1.073 GB, free: 6.016 MB / 0.8419 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004538/0.3611, allocations: 281.6 kB / 1.073 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3611, allocations: 4 kB / 1.073 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3611, allocations: 0 / 1.073 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3612, allocations: 4 kB / 1.073 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002357/0.3614, allocations: 67.84 kB / 1.073 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.3614, allocations: 0 / 1.073 GB, free: 5.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.3616, allocations: 31.7 kB / 1.073 GB, free: 5.629 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.3616, allocations: 12 kB / 1.073 GB, free: 5.617 MB / 0.8419 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.0001688/0.3618, allocations: 165.7 kB / 1.073 GB, free: 5.445 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.3618, allocations: 23.72 kB / 1.073 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007092/0.3626, allocations: 384.6 kB / 1.074 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3626, allocations: 4 kB / 1.074 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3626, allocations: 0 / 1.074 GB, free: 5.035 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.3626, allocations: 3.938 kB / 1.074 GB, free: 5.031 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.363, allocations: 333.3 kB / 1.074 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.363, allocations: 0 / 1.074 GB, free: 4.656 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.3632, allocations: 59.91 kB / 1.074 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.481e-06/0.3632, allocations: 4 kB / 1.074 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.3632, allocations: 8 kB / 1.074 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.3632, allocations: 0 / 1.074 GB, free: 4.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3632, allocations: 4 kB / 1.074 GB, free: 4.582 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005217/0.3637, allocations: 325.7 kB / 1.074 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.3639, allocations: 136.7 kB / 1.074 GB, free: 4.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.182e-05/0.3639, allocations: 8 kB / 1.074 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.3641, allocations: 18.09 kB / 1.075 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.3642, allocations: 19.97 kB / 1.075 GB, free: 4.051 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.3642, allocations: 27.86 kB / 1.075 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002227/0.3644, allocations: 225.8 kB / 1.075 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3645, allocations: 0 / 1.075 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002972/0.3648, allocations: 59.98 kB / 1.075 GB, free: 3.746 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.001443/0.3662, allocations: 410.6 kB / 1.075 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005776/0.3668, allocations: 300.1 kB / 1.076 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3668, allocations: 0 / 1.076 GB, free: 3.188 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.367, allocations: 135.8 kB / 1.076 GB, free: 3.055 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.3673, allocations: 36.66 kB / 1.076 GB, free: 3.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.3683, allocations: 0.6043 MB / 1.076 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/0.3688, allocations: 0.7535 MB / 1.077 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.3689, allocations: 55.41 kB / 1.077 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of SimCode: time 2.81e-07/0.3689, allocations: 0 / 1.077 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of Templates: time 0.472/0.8409, allocations: 4.183 MB / 1.081 GB, free: 21.52 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches