Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001693/0.001693, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002287/0.002287, allocations: 190.8 kB / 16.25 MB, free: 6.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.509/1.509, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.2 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 63.88 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7707/0.7722, allocations: 140.4 MB / 0.9491 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002958/0.7752, allocations: 1.684 MB / 0.9508 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001497/0.7767, allocations: 1.144 MB / 0.9519 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.6e-05/0.7768, allocations: 1.25 kB / 0.9519 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.7771, allocations: 22.33 kB / 0.9519 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.7775, allocations: 61.41 kB / 0.9519 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004538/0.7779, allocations: 118.8 kB / 0.9521 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002665/0.7782, allocations: 237.9 kB / 0.9523 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.7783, allocations: 17.77 kB / 0.9523 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.7785, allocations: 81.34 kB / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.7787, allocations: 87.53 kB / 0.9525 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.7788, allocations: 21.36 kB / 0.9525 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.779, allocations: 74.28 kB / 0.9526 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.7791, allocations: 78.56 kB / 0.9526 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.7792, allocations: 107.5 kB / 0.9527 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.7795, allocations: 269.7 kB / 0.953 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7795, allocations: 4 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.186e-06/0.7796, allocations: 1.281 kB / 0.953 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.7796, allocations: 3.938 kB / 0.953 GB, free: 6.141 MB / 0.7169 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.0007565/0.7803, allocations: 0.5317 MB / 0.9535 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.7804, allocations: 8.719 kB / 0.9535 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.009e-05/0.7805, allocations: 25.09 kB / 0.9536 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.7807, allocations: 261.1 kB / 0.9538 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.7807, allocations: 10.34 kB / 0.9538 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.289e-05/0.7808, allocations: 22.7 kB / 0.9538 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003512/0.7811, allocations: 228.3 kB / 0.9541 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.7812, allocations: 5.125 kB / 0.9541 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.7812, allocations: 5.062 kB / 0.9541 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.7812, allocations: 4.188 kB / 0.9541 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008393/0.7821, allocations: 0.7353 MB / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007889/0.7829, allocations: 0.5738 MB / 0.9553 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.7833, allocations: 294.2 kB / 0.9556 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.7835, allocations: 103.2 kB / 0.9557 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.7835, allocations: 17.16 kB / 0.9557 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003415/0.7839, allocations: 184.3 kB / 0.9559 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.894e-06/0.7839, allocations: 0 / 0.9559 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.000657/0.7845, allocations: 363.7 kB / 0.9563 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.7846, allocations: 136.6 kB / 0.9564 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.7849, allocations: 300.5 kB / 0.9567 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.7849, allocations: 31.05 kB / 0.9567 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.785, allocations: 121.7 kB / 0.9568 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.13e-05/0.7851, allocations: 117.1 kB / 0.9569 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.7852, allocations: 68.72 kB / 0.957 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.469e-05/0.7853, allocations: 338.1 kB / 0.9573 GB, free: 2.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.7854, allocations: 79.95 kB / 0.9574 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.7856, allocations: 131.9 kB / 0.9575 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.786, allocations: 212.5 kB / 0.9577 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.786, allocations: 1.062 kB / 0.9577 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005052/0.7865, allocations: 274.8 kB / 0.958 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.7865, allocations: 5.125 kB / 0.958 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.7866, allocations: 1 kB / 0.958 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.7866, allocations: 1.125 kB / 0.958 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.7868, allocations: 63.97 kB / 0.9581 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.7868, allocations: 1.125 kB / 0.9581 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.787, allocations: 32.52 kB / 0.9581 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.7871, allocations: 16.8 kB / 0.9581 GB, free: 2.438 MB / 0.7169 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.0001786/0.7872, allocations: 156.4 kB / 0.9583 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.7873, allocations: 28.12 kB / 0.9583 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007048/0.788, allocations: 384.8 kB / 0.9587 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.7881, allocations: 7.312 kB / 0.9587 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.7881, allocations: 0 / 0.9587 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.7881, allocations: 8.922 kB / 0.9587 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.7884, allocations: 327.8 kB / 0.959 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.7884, allocations: 0 / 0.959 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.7886, allocations: 60.47 kB / 0.959 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.7886, allocations: 2 kB / 0.959 GB, free: 1.738 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.7886, allocations: 16.3 kB / 0.9591 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.7886, allocations: 1.156 kB / 0.9591 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7886, allocations: 0.8125 kB / 0.9591 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00047/0.7891, allocations: 321.7 kB / 0.9594 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.7892, allocations: 145.1 kB / 0.9595 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.482e-05/0.7893, allocations: 10.45 kB / 0.9595 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001507/0.7895, allocations: 16.66 kB / 0.9595 GB, free: 1.383 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.7895, allocations: 28.77 kB / 0.9596 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.7896, allocations: 12.75 kB / 0.9596 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002007/0.7898, allocations: 236.1 kB / 0.9598 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7898, allocations: 0 / 0.9598 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00033/0.7901, allocations: 59.72 kB / 0.9598 GB, free: 1.199 MB / 0.7169 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.0009802/0.7911, allocations: 409.2 kB / 0.9602 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005632/0.7917, allocations: 306.1 kB / 0.9605 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.7917, allocations: 1.438 kB / 0.9605 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.7919, allocations: 129.4 kB / 0.9607 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.7922, allocations: 34.66 kB / 0.9607 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007839/0.793, allocations: 0.5669 MB / 0.9612 GB, free: 444 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.7933, allocations: 0.7572 MB / 0.962 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0003308/0.7936, allocations: 147.9 kB / 0.9621 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.053e-05/0.7937, allocations: 40.45 kB / 0.9622 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of SimCode: time 2.094e-06/0.7937, allocations: 0 / 0.9622 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of Templates: time 0.008509/0.8022, allocations: 2.981 MB / 0.9651 GB, free: 14.12 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches