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.001447/0.001452, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001186/0.001186, allocations: 193.6 kB / 16.14 MB, free: 6.711 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.381/1.381, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.759/2.759, allocations: 461.9 MB / 0.7342 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 62.48 kB / 0.8984 GB, free: 37.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3472, allocations: 157.4 MB / 1.052 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003028/0.3503, allocations: 1.691 MB / 1.054 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.352, allocations: 1.143 MB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.352, allocations: 3.938 kB / 1.055 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.3523, allocations: 19.91 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002427/0.3526, allocations: 63.73 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.3529, allocations: 118.8 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000259/0.3532, allocations: 221.5 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.3533, allocations: 16.23 kB / 1.055 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.175e-05/0.3534, allocations: 71.81 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.3536, allocations: 87.7 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.3537, allocations: 12 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001382/0.3538, allocations: 67.97 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.3539, allocations: 79.73 kB / 1.056 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.761e-05/0.3541, allocations: 91.41 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.3544, allocations: 267.4 kB / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3544, allocations: 0 / 1.056 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.432e-06/0.3544, allocations: 3.938 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.3544, allocations: 0 / 1.056 GB, free: 4.852 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.0007599/0.3552, allocations: 0.5245 MB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.3552, allocations: 8.031 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.29e-05/0.3553, allocations: 24.66 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002573/0.3555, allocations: 263.7 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.3556, allocations: 16.38 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.3556, allocations: 16.38 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003413/0.356, allocations: 220.8 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.356, allocations: 0 / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.356, allocations: 8 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.356, allocations: 4 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008595/0.3569, allocations: 0.7349 MB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007985/0.3577, allocations: 0.5705 MB / 1.058 GB, free: 2.312 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004733/0.3582, allocations: 295.6 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.3583, allocations: 101.4 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.3584, allocations: 28.23 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003585/0.3588, allocations: 188.8 kB / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.3588, allocations: 0 / 1.059 GB, free: 1.691 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.0006371/0.3594, allocations: 357.2 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.252e-05/0.3595, allocations: 136.5 kB / 1.059 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002703/0.3598, allocations: 303.9 kB / 1.06 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.3598, allocations: 33.7 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.3599, allocations: 124.7 kB / 1.06 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.083e-05/0.36, allocations: 106.5 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.536e-05/0.3601, allocations: 65.69 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3602, allocations: 346.7 kB / 1.06 GB, free: 180 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001549/0.3604, allocations: 83.89 kB / 1.06 GB, free: 96 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.3606, allocations: 127.8 kB / 1.06 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.3609, allocations: 212.6 kB / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3609, allocations: 0 / 1.061 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004247/0.3613, allocations: 281.5 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3614, allocations: 9.25 kB / 1.061 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3614, allocations: 4 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3614, allocations: 0 / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.3616, allocations: 63.89 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3616, allocations: 4 kB / 1.061 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.3618, allocations: 27.72 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.3618, allocations: 15.98 kB / 1.061 GB, free: 15.34 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.0001583/0.362, allocations: 163.3 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.756e-05/0.362, allocations: 27.72 kB / 1.061 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006878/0.3627, allocations: 385.5 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.3628, allocations: 4 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3628, allocations: 0 / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.178e-06/0.3628, allocations: 7.922 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.3632, allocations: 333.2 kB / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3632, allocations: 0 / 1.062 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.3633, allocations: 63.91 kB / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.3634, allocations: 0 / 1.062 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.3634, allocations: 11.98 kB / 1.062 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3634, allocations: 4 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3634, allocations: 0 / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005086/0.3639, allocations: 317.7 kB / 1.062 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.3641, allocations: 140.7 kB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.3642, allocations: 4 kB / 1.062 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.3643, allocations: 23.98 kB / 1.062 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.3644, allocations: 19.97 kB / 1.062 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.3644, allocations: 23.88 kB / 1.063 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002242/0.3647, allocations: 229.8 kB / 1.063 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3647, allocations: 3.938 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003132/0.365, allocations: 60 kB / 1.063 GB, free: 13.46 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.001153/0.3662, allocations: 392.3 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004618/0.3666, allocations: 231.6 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3666, allocations: 3.938 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.3668, allocations: 128.4 kB / 1.064 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.3672, allocations: 34.72 kB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3682, allocations: 0.5796 MB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.3687, allocations: 0.754 MB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003547/0.369, allocations: 146.8 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.3691, allocations: 39.42 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3691, allocations: 0 / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of Templates: time 0.006813/0.376, allocations: 2.896 MB / 1.068 GB, free: 8.383 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/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