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.008025/0.008024, allocations: 102.1 kB / 15.73 MB, free: 6.035 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.001689/0.001689, allocations: 199.2 kB / 16.68 MB, free: 5.957 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.758/2.758, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 71.88 kB / 1.054 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003457/1.054, allocations: 1.637 MB / 1.209 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002185/1.056, allocations: 1.164 MB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.034e-05/1.056, allocations: 0 / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002793/1.056, allocations: 27.8 kB / 1.21 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002937/1.056, allocations: 63.69 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/1.057, allocations: 134.6 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/1.057, allocations: 233.6 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/1.057, allocations: 20.22 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.703e-05/1.057, allocations: 79.83 kB / 1.211 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/1.058, allocations: 91.7 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.596e-05/1.058, allocations: 20 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/1.058, allocations: 79.97 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001222/1.058, allocations: 79.8 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/1.058, allocations: 111.3 kB / 1.211 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003853/1.059, allocations: 278.8 kB / 1.212 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/1.059, allocations: 4 kB / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.425e-06/1.059, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.364e-06/1.059, allocations: 0 / 1.212 GB, free: 9.566 MB / 0.9356 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.0008753/1.059, allocations: 0.5248 MB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.059, allocations: 15.97 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.006e-05/1.06, allocations: 28.56 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/1.06, allocations: 259.8 kB / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/1.06, allocations: 16.31 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.959e-05/1.06, allocations: 12.38 kB / 1.212 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003707/1.06, allocations: 222.4 kB / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/1.06, allocations: 0 / 1.213 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.795e-05/1.06, allocations: 8 kB / 1.213 GB, free: 8.391 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/1.06, allocations: 4 kB / 1.213 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/1.061, allocations: 0.7372 MB / 1.213 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009516/1.062, allocations: 0.5669 MB / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005162/1.063, allocations: 311.6 kB / 1.214 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/1.063, allocations: 105.3 kB / 1.214 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/1.063, allocations: 16.25 kB / 1.214 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003656/1.064, allocations: 176.9 kB / 1.215 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/1.064, allocations: 4 kB / 1.215 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0006965/1.064, allocations: 369.1 kB / 1.215 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.064, allocations: 136.5 kB / 1.215 GB, free: 5.875 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/1.065, allocations: 296.1 kB / 1.215 GB, free: 5.574 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/1.065, allocations: 33.69 kB / 1.215 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/1.065, allocations: 120.8 kB / 1.215 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.784e-05/1.065, allocations: 118.3 kB / 1.216 GB, free: 5.293 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/1.065, allocations: 61.69 kB / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.065, allocations: 346.8 kB / 1.216 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/1.065, allocations: 79.95 kB / 1.216 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002/1.066, allocations: 127.2 kB / 1.216 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/1.066, allocations: 214.4 kB / 1.216 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.066, allocations: 0 / 1.216 GB, free: 4.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004416/1.066, allocations: 277.1 kB / 1.217 GB, free: 4.176 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/1.066, allocations: 8 kB / 1.217 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/1.066, allocations: 0 / 1.217 GB, free: 4.168 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.399e-05/1.066, allocations: 4 kB / 1.217 GB, free: 4.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002547/1.067, allocations: 63.91 kB / 1.217 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/1.067, allocations: 0 / 1.217 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/1.067, allocations: 31.7 kB / 1.217 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/1.067, allocations: 12 kB / 1.217 GB, free: 4.059 MB / 0.9356 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.0001808/1.067, allocations: 157.8 kB / 1.217 GB, free: 3.895 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.396e-05/1.067, allocations: 31.56 kB / 1.217 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008193/1.068, allocations: 381.6 kB / 1.217 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/1.068, allocations: 7.938 kB / 1.217 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.068, allocations: 4 kB / 1.217 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/1.068, allocations: 7.938 kB / 1.217 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/1.069, allocations: 329.2 kB / 1.218 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.069, allocations: 0 / 1.218 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/1.069, allocations: 59.91 kB / 1.218 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.069, allocations: 0 / 1.218 GB, free: 3.035 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/1.069, allocations: 8 kB / 1.218 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/1.069, allocations: 0 / 1.218 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/1.069, allocations: 0 / 1.218 GB, free: 3.027 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/1.07, allocations: 333.9 kB / 1.218 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/1.07, allocations: 140.7 kB / 1.218 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.083e-05/1.07, allocations: 8 kB / 1.218 GB, free: 2.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/1.07, allocations: 15.98 kB / 1.218 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/1.07, allocations: 23.97 kB / 1.218 GB, free: 2.477 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.969e-05/1.07, allocations: 15.92 kB / 1.218 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002214/1.07, allocations: 229.8 kB / 1.218 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.07, allocations: 0 / 1.218 GB, free: 2.238 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000309/1.071, allocations: 59.89 kB / 1.218 GB, free: 2.18 MB / 0.9356 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.001095/1.072, allocations: 414.3 kB / 1.219 GB, free: 1.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004955/1.072, allocations: 231.6 kB / 1.219 GB, free: 1.684 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/1.072, allocations: 4 kB / 1.219 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/1.073, allocations: 123.8 kB / 1.219 GB, free: 1.559 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/1.073, allocations: 34.48 kB / 1.219 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/1.074, allocations: 497.2 kB / 1.22 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/1.074, allocations: 0.754 MB / 1.22 GB, free: 248 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003501/1.075, allocations: 142.9 kB / 1.221 GB, free: 100 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.143e-05/1.075, allocations: 47.41 kB / 1.221 GB, free: 52 kB / 0.9356 GB Notification: Performance of SimCode: time 1.012e-06/1.075, allocations: 0 / 1.221 GB, free: 52 kB / 0.9356 GB Notification: Performance of Templates: time 0.007853/1.083, allocations: 3.066 MB / 1.224 GB, free: 13.01 MB / 0.9512 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