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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.008955/0.008955, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001655/0.001655, allocations: 190.2 kB / 16.67 MB, free: 5.969 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.595/2.595, allocations: 472.6 MB / 0.7453 GB, free: 448 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 71.83 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.959/0.9603, allocations: 159.9 MB / 1.226 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003264/0.9636, allocations: 1.639 MB / 1.227 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001789/0.9654, allocations: 1.169 MB / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.617e-05/0.9655, allocations: 0 / 1.228 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.9658, allocations: 27.8 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.9661, allocations: 63.69 kB / 1.228 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.9665, allocations: 146.5 kB / 1.229 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.9668, allocations: 233.6 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.967, allocations: 24.16 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.429e-05/0.9671, allocations: 83.81 kB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.9673, allocations: 92.8 kB / 1.229 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.9674, allocations: 16 kB / 1.229 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001439/0.9675, allocations: 71.98 kB / 1.229 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.9676, allocations: 87.73 kB / 1.229 GB, free: 9.871 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.9677, allocations: 103.4 kB / 1.229 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003607/0.9681, allocations: 287.3 kB / 1.23 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.9681, allocations: 0 / 1.23 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.733e-06/0.9681, allocations: 0 / 1.23 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.9681, allocations: 0 / 1.23 GB, free: 9.496 MB / 0.9512 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.0008336/0.969, allocations: 0.538 MB / 1.23 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.969, allocations: 8.031 kB / 1.23 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.9691, allocations: 28.8 kB / 1.23 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.9694, allocations: 271.8 kB / 1.23 GB, free: 8.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.9695, allocations: 12.31 kB / 1.23 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.9695, allocations: 20.38 kB / 1.23 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.9699, allocations: 216.9 kB / 1.231 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.9699, allocations: 0 / 1.231 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.9699, allocations: 4 kB / 1.231 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.9699, allocations: 4 kB / 1.231 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008343/0.9708, allocations: 0.7412 MB / 1.231 GB, free: 7.559 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007868/0.9716, allocations: 0.5592 MB / 1.232 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.972, allocations: 300.7 kB / 1.232 GB, free: 6.645 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.9722, allocations: 113.2 kB / 1.232 GB, free: 6.531 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.054e-05/0.9723, allocations: 16.25 kB / 1.232 GB, free: 6.516 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/0.9727, allocations: 184.9 kB / 1.232 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=34): time 1.653e-06/0.9727, allocations: 0 / 1.232 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of matching and sorting (n=34): time 0.0006808/0.9733, allocations: 358.2 kB / 1.233 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.733e-05/0.9735, allocations: 136.5 kB / 1.233 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002873/0.9737, allocations: 300 kB / 1.233 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.9738, allocations: 37.7 kB / 1.233 GB, free: 5.457 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.457e-05/0.9739, allocations: 124.7 kB / 1.233 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.974, allocations: 123 kB / 1.234 GB, free: 5.207 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.9741, allocations: 65.69 kB / 1.234 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.9743, allocations: 338.8 kB / 1.234 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.9744, allocations: 83.95 kB / 1.234 GB, free: 4.715 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.9746, allocations: 123.8 kB / 1.234 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.9749, allocations: 215.2 kB / 1.234 GB, free: 4.371 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9749, allocations: 3.938 kB / 1.234 GB, free: 4.367 MB / 0.9512 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000427/0.9754, allocations: 281.1 kB / 1.235 GB, free: 4.086 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.9754, allocations: 4 kB / 1.235 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.9754, allocations: 4 kB / 1.235 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.9754, allocations: 7.938 kB / 1.235 GB, free: 4.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.9757, allocations: 63.95 kB / 1.235 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.9757, allocations: 3.938 kB / 1.235 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.9759, allocations: 27.78 kB / 1.235 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.9759, allocations: 12.03 kB / 1.235 GB, free: 3.965 MB / 0.9512 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.0001617/0.9761, allocations: 161.8 kB / 1.235 GB, free: 3.797 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.9761, allocations: 23.86 kB / 1.235 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006691/0.9768, allocations: 388.6 kB / 1.235 GB, free: 3.387 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.9768, allocations: 8 kB / 1.235 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.9768, allocations: 4 kB / 1.235 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.9768, allocations: 7.922 kB / 1.235 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.9772, allocations: 329.3 kB / 1.236 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.9772, allocations: 0 / 1.236 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.9774, allocations: 55.91 kB / 1.236 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.271e-06/0.9774, allocations: 4 kB / 1.236 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.9774, allocations: 11.98 kB / 1.236 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.9774, allocations: 0 / 1.236 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.9774, allocations: 0 / 1.236 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004617/0.9779, allocations: 325.9 kB / 1.236 GB, free: 2.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.978, allocations: 144.8 kB / 1.236 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.9781, allocations: 11.94 kB / 1.236 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.9782, allocations: 14.09 kB / 1.236 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.9783, allocations: 23.97 kB / 1.236 GB, free: 2.383 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.9783, allocations: 15.94 kB / 1.236 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002029/0.9785, allocations: 229.8 kB / 1.236 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9786, allocations: 0 / 1.236 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00029/0.9789, allocations: 59.94 kB / 1.236 GB, free: 2.086 MB / 0.9512 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.0009949/0.9799, allocations: 406.5 kB / 1.237 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004342/0.9803, allocations: 227.8 kB / 1.237 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.9803, allocations: 0 / 1.237 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.9805, allocations: 136.4 kB / 1.237 GB, free: 1.469 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.9808, allocations: 41.36 kB / 1.237 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008308/0.9817, allocations: 0.5004 MB / 1.238 GB, free: 0.9062 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000357/0.982, allocations: 0.7612 MB / 1.238 GB, free: 124 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003437/0.9824, allocations: 146.8 kB / 1.239 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.563e-05/0.9825, allocations: 39.42 kB / 1.239 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of SimCode: time 2.8e-07/0.9825, allocations: 0 / 1.239 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of Templates: time 0.007056/0.9895, allocations: 3.006 MB / 1.242 GB, free: 12.95 MB / 0.9669 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