Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001303/0.001303, allocations: 105.7 kB / 16.27 MB, free: 6.004 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.001265/0.001265, allocations: 191.6 kB / 17.2 MB, free: 5.613 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.406/1.406, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.581/2.581, allocations: 437.1 MB / 0.711 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001942, allocations: 68.64 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3377, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003268/0.341, allocations: 1.625 MB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001821/0.3429, allocations: 1.179 MB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.343, allocations: 0 / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.3432, allocations: 23.8 kB / 1.021 GB, free: 7.766 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.3435, allocations: 67.69 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.3439, allocations: 135.2 kB / 1.021 GB, free: 7.57 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002987/0.3442, allocations: 233.5 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.3444, allocations: 28.2 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3445, allocations: 79.77 kB / 1.021 GB, free: 7.234 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.3447, allocations: 91.77 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.3448, allocations: 16 kB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.3449, allocations: 79.95 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.3451, allocations: 79.75 kB / 1.022 GB, free: 6.973 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.3452, allocations: 103.4 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003557/0.3456, allocations: 279.4 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3456, allocations: 0 / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3456, allocations: 0 / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.3456, allocations: 0 / 1.022 GB, free: 6.598 MB / 0.795 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.0008353/0.3464, allocations: 0.5267 MB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3465, allocations: 8.031 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.051e-05/0.3466, allocations: 28.66 kB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/0.3469, allocations: 271.6 kB / 1.023 GB, free: 5.68 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.3469, allocations: 8.375 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.347, allocations: 20.38 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003876/0.3474, allocations: 218.4 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.3474, allocations: 0 / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.3474, allocations: 4 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.3474, allocations: 11.88 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009591/0.3484, allocations: 0.7373 MB / 1.024 GB, free: 4.668 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009136/0.3493, allocations: 0.5706 MB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005241/0.3498, allocations: 300.1 kB / 1.025 GB, free: 3.742 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.35, allocations: 101.4 kB / 1.025 GB, free: 3.641 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.563e-05/0.3501, allocations: 20.25 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003598/0.3505, allocations: 181.4 kB / 1.025 GB, free: 3.434 MB / 0.795 GB Notification: Performance of pre-optimization done (n=34): time 1.543e-06/0.3505, allocations: 0 / 1.025 GB, free: 3.434 MB / 0.795 GB Notification: Performance of matching and sorting (n=34): time 0.0007188/0.3512, allocations: 365.1 kB / 1.025 GB, free: 3.07 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.3513, allocations: 132.5 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.3516, allocations: 308 kB / 1.026 GB, free: 2.594 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.3517, allocations: 29.7 kB / 1.026 GB, free: 2.559 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3518, allocations: 124.7 kB / 1.026 GB, free: 2.434 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.3519, allocations: 110.5 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.722e-05/0.352, allocations: 65.69 kB / 1.026 GB, free: 2.254 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3522, allocations: 342.8 kB / 1.026 GB, free: 1.91 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.3523, allocations: 83.94 kB / 1.026 GB, free: 1.828 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002003/0.3526, allocations: 129.1 kB / 1.026 GB, free: 1.691 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003488/0.3529, allocations: 213 kB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3529, allocations: 3.984 kB / 1.027 GB, free: 1.477 MB / 0.795 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004848/0.3534, allocations: 285 kB / 1.027 GB, free: 1.191 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3534, allocations: 4 kB / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.3534, allocations: 0 / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3535, allocations: 4 kB / 1.027 GB, free: 1.184 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.3537, allocations: 63.91 kB / 1.027 GB, free: 1.121 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.423e-06/0.3537, allocations: 0 / 1.027 GB, free: 1.121 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001596/0.3539, allocations: 31.7 kB / 1.027 GB, free: 1.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.3539, allocations: 12 kB / 1.027 GB, free: 1.078 MB / 0.795 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.0001999/0.3542, allocations: 165.7 kB / 1.027 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/0.3542, allocations: 27.72 kB / 1.027 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.3549, allocations: 373.6 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3549, allocations: 4 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.355, allocations: 0 / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.355, allocations: 3.938 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003773/0.3554, allocations: 337.2 kB / 1.028 GB, free: 124 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3554, allocations: 0 / 1.028 GB, free: 124 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.3555, allocations: 59.91 kB / 1.028 GB, free: 64 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3556, allocations: 4 kB / 1.028 GB, free: 60 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.3556, allocations: 8 kB / 1.028 GB, free: 52 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3556, allocations: 0 / 1.028 GB, free: 52 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.3556, allocations: 3.984 kB / 1.028 GB, free: 48 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.3561, allocations: 329.8 kB / 1.028 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.3563, allocations: 140.7 kB / 1.028 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.3563, allocations: 8 kB / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.3565, allocations: 15.98 kB / 1.028 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.3566, allocations: 23.97 kB / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.3566, allocations: 19.92 kB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002242/0.3568, allocations: 229.6 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.81e-07/0.3568, allocations: 0 / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002939/0.3571, allocations: 55.98 kB / 1.029 GB, free: 15.21 MB / 0.8106 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.001446/0.3586, allocations: 417.7 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005719/0.3592, allocations: 303.9 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3592, allocations: 0 / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.3594, allocations: 131.8 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.3597, allocations: 40.12 kB / 1.03 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009181/0.3606, allocations: 0.5347 MB / 1.03 GB, free: 13.91 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.361, allocations: 0.7578 MB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.3612, allocations: 51.42 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3612, allocations: 0 / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of Templates: time 0.007258/0.3684, allocations: 4.182 MB / 1.035 GB, free: 8.914 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LimitMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches