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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001014/0.001014, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 179.2 kB / 16.92 MB, free: 6.652 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.751/2.751, allocations: 437.8 MB / 0.7128 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004171, allocations: 16 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8309/0.8313, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00198/0.8333, allocations: 1.348 MB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.835, allocations: 1.136 MB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.101e-05/0.8351, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001993/0.8353, allocations: 27.86 kB / 1.026 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.8356, allocations: 55.45 kB / 1.026 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.836, allocations: 119.8 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.8362, allocations: 209.6 kB / 1.027 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.8364, allocations: 32.17 kB / 1.027 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.8365, allocations: 71.77 kB / 1.027 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.8367, allocations: 83.77 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.8367, allocations: 8 kB / 1.027 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.8369, allocations: 59.98 kB / 1.027 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.065e-05/0.837, allocations: 75.73 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.8371, allocations: 125 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.8374, allocations: 193.6 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.8374, allocations: 0 / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.825e-06/0.8374, allocations: 0 / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.8374, allocations: 4 kB / 1.027 GB, free: 12.33 MB / 0.7794 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.0006944/0.8381, allocations: 495.5 kB / 1.028 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.8382, allocations: 12.03 kB / 1.028 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.879e-05/0.8383, allocations: 28.56 kB / 1.028 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.8385, allocations: 263.7 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.8386, allocations: 12.38 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.8386, allocations: 12.38 kB / 1.028 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003647/0.839, allocations: 224.8 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.839, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.839, allocations: 8 kB / 1.028 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.839, allocations: 7.984 kB / 1.028 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008539/0.8399, allocations: 0.7295 MB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008315/0.8407, allocations: 0.5706 MB / 1.029 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.8412, allocations: 304.1 kB / 1.03 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/0.8414, allocations: 101.4 kB / 1.03 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.684e-05/0.8415, allocations: 20.19 kB / 1.03 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003425/0.8418, allocations: 176.9 kB / 1.03 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.804e-06/0.8418, allocations: 4 kB / 1.03 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0006447/0.8425, allocations: 369.1 kB / 1.03 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.374e-05/0.8426, allocations: 132.5 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.8429, allocations: 300 kB / 1.031 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.8429, allocations: 29.7 kB / 1.031 GB, free: 8.344 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.39e-05/0.843, allocations: 128.7 kB / 1.031 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.697e-05/0.8431, allocations: 118.3 kB / 1.031 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.8432, allocations: 25.72 kB / 1.031 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.8433, allocations: 346.8 kB / 1.031 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.8434, allocations: 79.95 kB / 1.031 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.8436, allocations: 124.5 kB / 1.032 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.8439, allocations: 221 kB / 1.032 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.844, allocations: 0 / 1.032 GB, free: 7.289 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000419/0.8444, allocations: 281.1 kB / 1.032 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.8444, allocations: 4 kB / 1.032 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.8444, allocations: 0 / 1.032 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.8444, allocations: 4 kB / 1.032 GB, free: 7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.8447, allocations: 59.91 kB / 1.032 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.8447, allocations: 4 kB / 1.032 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.8449, allocations: 27.77 kB / 1.032 GB, free: 6.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.754e-05/0.8449, allocations: 16 kB / 1.032 GB, free: 6.895 MB / 0.7794 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.0001576/0.8451, allocations: 161.7 kB / 1.032 GB, free: 6.727 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.8451, allocations: 23.72 kB / 1.032 GB, free: 6.703 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006511/0.8458, allocations: 381.6 kB / 1.033 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.8458, allocations: 4 kB / 1.033 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8458, allocations: 0 / 1.033 GB, free: 6.32 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.8458, allocations: 7.938 kB / 1.033 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.8461, allocations: 337.1 kB / 1.033 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.8461, allocations: 0 / 1.033 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.8463, allocations: 55.97 kB / 1.033 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8463, allocations: 4 kB / 1.033 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.8463, allocations: 12 kB / 1.033 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.8463, allocations: 0 / 1.033 GB, free: 5.863 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.8464, allocations: 3.938 kB / 1.033 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00044/0.8468, allocations: 325.8 kB / 1.033 GB, free: 5.523 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.8469, allocations: 144.6 kB / 1.034 GB, free: 5.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/0.847, allocations: 11.98 kB / 1.034 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.8472, allocations: 16 kB / 1.034 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.8472, allocations: 23.95 kB / 1.034 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.8473, allocations: 23.88 kB / 1.034 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001968/0.8475, allocations: 229.8 kB / 1.034 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8475, allocations: 0 / 1.034 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002937/0.8478, allocations: 56 kB / 1.034 GB, free: 5.012 MB / 0.7794 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.0009227/0.8487, allocations: 405.3 kB / 1.034 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003872/0.8491, allocations: 227.9 kB / 1.035 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8491, allocations: 4 kB / 1.035 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001822/0.8493, allocations: 128.4 kB / 1.035 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.8496, allocations: 32.59 kB / 1.035 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.8504, allocations: 0.6209 MB / 1.035 GB, free: 3.727 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.8508, allocations: 0.7535 MB / 1.036 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.8509, allocations: 47.42 kB / 1.036 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.8509, allocations: 0 / 1.036 GB, free: 2.902 MB / 0.7794 GB Notification: Performance of Templates: time 0.007022/0.8579, allocations: 4.164 MB / 1.04 GB, free: 14.75 MB / 0.795 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/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