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.001107/0.001107, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01041/0.01041, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.485/1.485, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.739/2.739, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003526, allocations: 14.41 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3639, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002456/0.3664, allocations: 1.346 MB / 1.06 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001943/0.3684, allocations: 1.132 MB / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.967e-05/0.3684, allocations: 0 / 1.061 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002748/0.3687, allocations: 19.92 kB / 1.061 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002794/0.369, allocations: 59.75 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004296/0.3694, allocations: 119.3 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003189/0.3698, allocations: 221.5 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.3699, allocations: 16.23 kB / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.37, allocations: 75.73 kB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002222/0.3703, allocations: 75.8 kB / 1.062 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.694e-05/0.3703, allocations: 15.98 kB / 1.062 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001544/0.3705, allocations: 67.97 kB / 1.062 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001117/0.3706, allocations: 71.75 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.3707, allocations: 121.1 kB / 1.062 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000352/0.3711, allocations: 267.3 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3711, allocations: 0 / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3711, allocations: 0 / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3711, allocations: 0 / 1.062 GB, free: 1.879 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.0008288/0.3719, allocations: 491.6 kB / 1.063 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.372, allocations: 8.031 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.3721, allocations: 32.56 kB / 1.063 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.3724, allocations: 263.8 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.3724, allocations: 8.375 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.3724, allocations: 16.38 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003485/0.3728, allocations: 220.8 kB / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3728, allocations: 0 / 1.063 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.3728, allocations: 8 kB / 1.063 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.3728, allocations: 7.984 kB / 1.063 GB, free: 0.7383 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008262/0.3737, allocations: 0.7349 MB / 1.064 GB, free: 4 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008123/0.3745, allocations: 0.5706 MB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000452/0.375, allocations: 295.6 kB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.3751, allocations: 109.4 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/0.3752, allocations: 24.19 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003309/0.3755, allocations: 176.9 kB / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.763e-06/0.3755, allocations: 0 / 1.065 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0006261/0.3762, allocations: 369.1 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/0.3762, allocations: 132.5 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.3765, allocations: 307.9 kB / 1.066 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.3766, allocations: 29.7 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.3767, allocations: 124.8 kB / 1.066 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.745e-05/0.3767, allocations: 118.3 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.3768, allocations: 25.72 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3769, allocations: 338.8 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.3771, allocations: 79.95 kB / 1.066 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001915/0.3773, allocations: 131.8 kB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/0.3776, allocations: 216.5 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3776, allocations: 3.938 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004001/0.378, allocations: 277.6 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.378, allocations: 8 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.378, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3781, allocations: 0 / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.3783, allocations: 63.91 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.3783, allocations: 0 / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.3785, allocations: 35.7 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.3785, allocations: 12 kB / 1.067 GB, free: 12.45 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.0001725/0.3787, allocations: 165.7 kB / 1.067 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.3787, allocations: 23.72 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006408/0.3794, allocations: 385.5 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.3794, allocations: 4 kB / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3794, allocations: 0 / 1.068 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.3794, allocations: 7.938 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.3797, allocations: 329.3 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.3797, allocations: 3.984 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001713/0.3799, allocations: 59.91 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.3799, allocations: 4 kB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.3799, allocations: 12 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.3799, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.3799, allocations: 0 / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.3804, allocations: 325.7 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.3805, allocations: 140.7 kB / 1.069 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.3805, allocations: 15.98 kB / 1.069 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3807, allocations: 12 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.3808, allocations: 23.95 kB / 1.069 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.3808, allocations: 19.88 kB / 1.069 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001961/0.381, allocations: 229.8 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.381, allocations: 0 / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003035/0.3813, allocations: 59.91 kB / 1.069 GB, free: 10.57 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.0009431/0.3823, allocations: 406.5 kB / 1.069 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003883/0.3827, allocations: 223.8 kB / 1.07 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3827, allocations: 0 / 1.07 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.3829, allocations: 132.4 kB / 1.07 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.3831, allocations: 34.03 kB / 1.07 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/0.384, allocations: 0.5774 MB / 1.07 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.3843, allocations: 0.7579 MB / 1.071 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000303/0.3846, allocations: 142.9 kB / 1.071 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.007e-05/0.3847, allocations: 39.42 kB / 1.071 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3847, allocations: 0 / 1.071 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of Templates: time 0.006492/0.3912, allocations: 2.868 MB / 1.074 GB, free: 5.512 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