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.001164/0.001164, allocations: 90.52 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.008105/0.008105, allocations: 171.1 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.437/1.437, allocations: 223.2 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.781/2.781, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003649, allocations: 9.094 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3469, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002403/0.3493, allocations: 1.35 MB / 1.06 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00194/0.3513, allocations: 1.121 MB / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.547e-05/0.3514, allocations: 0 / 1.061 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.3517, allocations: 23.92 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002907/0.352, allocations: 59.77 kB / 1.061 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.3524, allocations: 122.8 kB / 1.061 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003024/0.3527, allocations: 213.5 kB / 1.061 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.3529, allocations: 20.2 kB / 1.062 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.353, allocations: 79.7 kB / 1.062 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.3533, allocations: 83.77 kB / 1.062 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.3533, allocations: 8 kB / 1.062 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.3535, allocations: 63.98 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.3536, allocations: 75.73 kB / 1.062 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.3538, allocations: 121.1 kB / 1.062 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.3542, allocations: 263.3 kB / 1.062 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3542, allocations: 4 kB / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3542, allocations: 0 / 1.062 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3542, allocations: 0 / 1.062 GB, free: 1.863 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.0008629/0.3551, allocations: 487.7 kB / 1.063 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3551, allocations: 12.03 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.758e-05/0.3552, allocations: 28.56 kB / 1.063 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.3557, allocations: 259.8 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.3557, allocations: 12.38 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.3558, allocations: 16.38 kB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.3562, allocations: 220.8 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.3562, allocations: 0 / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.3562, allocations: 8 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.3562, allocations: 4 kB / 1.063 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008616/0.3571, allocations: 0.7388 MB / 1.064 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000845/0.3579, allocations: 0.5628 MB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/0.3584, allocations: 303.6 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/0.3586, allocations: 101.4 kB / 1.065 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.703e-05/0.3586, allocations: 20.25 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003385/0.359, allocations: 180.8 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.613e-06/0.359, allocations: 0 / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0006832/0.3597, allocations: 369.2 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.234e-05/0.3598, allocations: 136.5 kB / 1.066 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.3601, allocations: 303.9 kB / 1.066 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.3602, allocations: 29.7 kB / 1.066 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.729e-05/0.3603, allocations: 124.8 kB / 1.066 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.488e-05/0.3604, allocations: 110.3 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.715e-05/0.3604, allocations: 33.7 kB / 1.066 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3606, allocations: 338.8 kB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.3607, allocations: 83.95 kB / 1.066 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.3609, allocations: 131.8 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.3613, allocations: 212.5 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3613, allocations: 0 / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004391/0.3617, allocations: 277.6 kB / 1.067 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.3617, allocations: 7.938 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3618, allocations: 3.938 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.3618, allocations: 48 / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.362, allocations: 67.89 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.362, allocations: 8 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.3622, allocations: 31.7 kB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.3622, allocations: 19.98 kB / 1.067 GB, free: 12.43 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.0001624/0.3624, allocations: 159.3 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.143e-05/0.3625, allocations: 23.72 kB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006814/0.3632, allocations: 385.5 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.3632, allocations: 4 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3632, allocations: 0 / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.3632, allocations: 11.92 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.3636, allocations: 321.3 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3636, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001902/0.3638, allocations: 59.91 kB / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3638, allocations: 0 / 1.068 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.3638, allocations: 11.98 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3638, allocations: 4 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.3638, allocations: 4 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004548/0.3643, allocations: 321.9 kB / 1.068 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.3644, allocations: 148.7 kB / 1.069 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.3645, allocations: 4 kB / 1.069 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.3646, allocations: 18.83 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.3647, allocations: 27.97 kB / 1.069 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.3647, allocations: 19.94 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000206/0.365, allocations: 225.8 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.365, allocations: 0 / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002942/0.3653, allocations: 59.91 kB / 1.069 GB, free: 10.56 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.0009379/0.3662, allocations: 418.8 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004115/0.3666, allocations: 227.8 kB / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3666, allocations: 0 / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.3668, allocations: 131.8 kB / 1.07 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.3671, allocations: 32.66 kB / 1.07 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009471/0.3681, allocations: 0.5728 MB / 1.07 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.3685, allocations: 0.7579 MB / 1.071 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000335/0.3688, allocations: 142.9 kB / 1.071 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.709e-05/0.3689, allocations: 47.41 kB / 1.071 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3689, allocations: 0 / 1.071 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of Templates: time 0.007001/0.3759, allocations: 2.851 MB / 1.074 GB, free: 5.508 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