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.001404/0.001404, allocations: 108 kB / 16.41 MB, free: 6.027 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.001411/0.001411, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.379/1.379, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.435/2.435, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 64.12 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.942/0.9435, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003125/0.9466, allocations: 1.641 MB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001745/0.9484, allocations: 1.173 MB / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.923e-05/0.9485, allocations: 0 / 1.17 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.9488, allocations: 27.84 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003398/0.9492, allocations: 67.62 kB / 1.17 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.9496, allocations: 134.2 kB / 1.17 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003383/0.95, allocations: 233.6 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.9501, allocations: 28.16 kB / 1.171 GB, free: 0.5352 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.9503, allocations: 79.83 kB / 1.171 GB, free: 468 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.9505, allocations: 87.77 kB / 1.171 GB, free: 380 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.666e-05/0.9506, allocations: 16 kB / 1.171 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001712/0.9508, allocations: 79.95 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.9509, allocations: 79.75 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.951, allocations: 111.3 kB / 1.171 GB, free: 92 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.9514, allocations: 290.7 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.9514, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.242e-06/0.9515, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.9515, allocations: 0 / 1.171 GB, free: 15.81 MB / 0.9044 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.0007992/0.9523, allocations: 0.5248 MB / 1.172 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.9523, allocations: 8.031 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.818e-05/0.9524, allocations: 28.56 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.9528, allocations: 271.7 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.9528, allocations: 12.38 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.9528, allocations: 20.38 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003768/0.9532, allocations: 226.1 kB / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.9532, allocations: 0 / 1.172 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.9533, allocations: 4 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.9533, allocations: 4 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008093/0.9541, allocations: 0.7451 MB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000851/0.955, allocations: 0.5591 MB / 1.174 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004981/0.9555, allocations: 303.6 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.9556, allocations: 101.4 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 5.037e-05/0.9557, allocations: 20.25 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.956, allocations: 177.4 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=34): time 1.884e-06/0.956, allocations: 0 / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34): time 0.0006724/0.9567, allocations: 373 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.9568, allocations: 132.5 kB / 1.175 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.9571, allocations: 300 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.194e-05/0.9571, allocations: 37.7 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/0.9572, allocations: 116.8 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.671e-05/0.9573, allocations: 114.3 kB / 1.175 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.709e-05/0.9574, allocations: 65.69 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.9575, allocations: 342.8 kB / 1.176 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.9576, allocations: 83.94 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.9578, allocations: 125 kB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.9581, allocations: 217.1 kB / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.9582, allocations: 0 / 1.176 GB, free: 10.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004517/0.9586, allocations: 281 kB / 1.176 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.9586, allocations: 4 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9587, allocations: 7.938 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.9587, allocations: 0 / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/0.9589, allocations: 63.91 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.9589, allocations: 4 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.9591, allocations: 31.7 kB / 1.176 GB, free: 10.31 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.9591, allocations: 8 kB / 1.176 GB, free: 10.3 MB / 0.9044 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.0001562/0.9593, allocations: 165.7 kB / 1.176 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.9594, allocations: 27.62 kB / 1.177 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006557/0.96, allocations: 381.6 kB / 1.177 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.96, allocations: 8 kB / 1.177 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9601, allocations: 0 / 1.177 GB, free: 9.711 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.9601, allocations: 3.938 kB / 1.177 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.9604, allocations: 333.2 kB / 1.177 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.9604, allocations: 0 / 1.177 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.9606, allocations: 55.91 kB / 1.177 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.9606, allocations: 0 / 1.177 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.9606, allocations: 8 kB / 1.177 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.9606, allocations: 4 kB / 1.177 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9607, allocations: 0 / 1.177 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004565/0.9611, allocations: 329.9 kB / 1.178 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.9613, allocations: 144.7 kB / 1.178 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.899e-05/0.9613, allocations: 4 kB / 1.178 GB, free: 8.762 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.9615, allocations: 15.98 kB / 1.178 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.9615, allocations: 23.97 kB / 1.178 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.9616, allocations: 15.92 kB / 1.178 GB, free: 8.707 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001897/0.9618, allocations: 233.6 kB / 1.178 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9618, allocations: 0 / 1.178 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002997/0.9621, allocations: 63.89 kB / 1.178 GB, free: 8.418 MB / 0.9044 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.000976/0.9631, allocations: 405.9 kB / 1.178 GB, free: 8.156 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004396/0.9635, allocations: 231.9 kB / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.9635, allocations: 0 / 1.179 GB, free: 7.93 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.9637, allocations: 127.8 kB / 1.179 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.964, allocations: 35.36 kB / 1.179 GB, free: 7.773 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.9649, allocations: 0.5232 MB / 1.179 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.9652, allocations: 0.7574 MB / 1.18 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.9654, allocations: 51.41 kB / 1.18 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.9654, allocations: 4 kB / 1.18 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of Templates: time 0.007297/0.9727, allocations: 4.218 MB / 1.184 GB, free: 2.18 MB / 0.9044 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/jenkins1/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