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.005611/0.005611, allocations: 99.44 kB / 15.73 MB, free: 6.062 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.001252/0.001252, allocations: 196.9 kB / 16.68 MB, free: 5.965 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.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.749/2.749, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 67.89 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3219, allocations: 151.6 MB / 1.167 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002933/0.3248, allocations: 1.648 MB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001898/0.3268, allocations: 1.167 MB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.265e-05/0.3269, allocations: 0 / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.3272, allocations: 27.86 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.3275, allocations: 63.62 kB / 1.169 GB, free: 3.926 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.3278, allocations: 143.2 kB / 1.17 GB, free: 3.789 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.3282, allocations: 229.6 kB / 1.17 GB, free: 3.566 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.3283, allocations: 20.23 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.567e-05/0.3284, allocations: 83.8 kB / 1.17 GB, free: 3.461 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.3286, allocations: 91.7 kB / 1.17 GB, free: 3.371 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.04e-05/0.3286, allocations: 20 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3288, allocations: 67.98 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-05/0.3289, allocations: 83.8 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.329, allocations: 107.3 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003801/0.3294, allocations: 286.7 kB / 1.171 GB, free: 2.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3294, allocations: 0 / 1.171 GB, free: 2.816 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3294, allocations: 0 / 1.171 GB, free: 2.816 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3294, allocations: 0 / 1.171 GB, free: 2.816 MB / 0.92 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.0007884/0.3302, allocations: 0.5419 MB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.3303, allocations: 12.03 kB / 1.171 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.239e-05/0.3304, allocations: 24.8 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.3307, allocations: 275.8 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.3307, allocations: 12.38 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.026e-05/0.3307, allocations: 12.38 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003652/0.3311, allocations: 228.5 kB / 1.172 GB, free: 1.617 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3311, allocations: 0 / 1.172 GB, free: 1.617 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.3312, allocations: 8 kB / 1.172 GB, free: 1.609 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3312, allocations: 4 kB / 1.172 GB, free: 1.605 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008411/0.332, allocations: 0.7373 MB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008842/0.3329, allocations: 0.5592 MB / 1.173 GB, free: 260 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.3334, allocations: 308.1 kB / 1.173 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.3336, allocations: 105.4 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.738e-05/0.3337, allocations: 20.11 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003578/0.334, allocations: 180.9 kB / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 1.693e-06/0.334, allocations: 0 / 1.173 GB, free: 15.63 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0006744/0.3347, allocations: 373.2 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.938e-05/0.3348, allocations: 136.5 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.3351, allocations: 296.1 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.3351, allocations: 33.7 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.319e-05/0.3352, allocations: 124.7 kB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.683e-05/0.3353, allocations: 119 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3355, allocations: 65.69 kB / 1.175 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.3356, allocations: 338.8 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.3358, allocations: 79.95 kB / 1.175 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/0.336, allocations: 128.4 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003158/0.3363, allocations: 217.1 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.3363, allocations: 4 kB / 1.175 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004156/0.3367, allocations: 277.1 kB / 1.176 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.3367, allocations: 7.984 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.3368, allocations: 4 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.3368, allocations: 0 / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.337, allocations: 63.91 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.337, allocations: 0 / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3372, allocations: 31.81 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.3372, allocations: 8 kB / 1.176 GB, free: 13.28 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.0001521/0.3374, allocations: 161.8 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.3374, allocations: 27.81 kB / 1.176 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006577/0.3381, allocations: 389.6 kB / 1.176 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.3381, allocations: 4 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3381, allocations: 0 / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3381, allocations: 3.938 kB / 1.176 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003028/0.3384, allocations: 333.3 kB / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3385, allocations: 4 kB / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.3386, allocations: 51.92 kB / 1.177 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.3386, allocations: 7.984 kB / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.3387, allocations: 8 kB / 1.177 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3387, allocations: 3.938 kB / 1.177 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3387, allocations: 0 / 1.177 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.3391, allocations: 325.8 kB / 1.177 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.3393, allocations: 140.8 kB / 1.177 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.34e-05/0.3393, allocations: 8 kB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3395, allocations: 15.98 kB / 1.177 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.3395, allocations: 28.02 kB / 1.177 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.923e-05/0.3396, allocations: 19.86 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002062/0.3398, allocations: 233.6 kB / 1.177 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3398, allocations: 0 / 1.177 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002868/0.3401, allocations: 59.89 kB / 1.177 GB, free: 11.39 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.0009917/0.3411, allocations: 406 kB / 1.178 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004312/0.3415, allocations: 231.9 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.3416, allocations: 4 kB / 1.178 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.3418, allocations: 128.4 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.342, allocations: 34.72 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007746/0.3428, allocations: 0.5049 MB / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.3431, allocations: 0.7579 MB / 1.179 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002995/0.3435, allocations: 150.8 kB / 1.18 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.95e-05/0.3435, allocations: 39.42 kB / 1.18 GB, free: 9.246 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.3435, allocations: 4 kB / 1.18 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of Templates: time 0.006722/0.3503, allocations: 3.029 MB / 1.183 GB, free: 6.23 MB / 0.9356 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=480 -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/jenkins/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