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.001614/0.001614, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002342/0.002342, allocations: 193.3 kB / 16.14 MB, free: 6.656 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.578 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.596/2.596, allocations: 437 MB / 0.7099 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 71.88 kB / 0.8685 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8249/0.8263, allocations: 151.6 MB / 1.017 GB, free: 2.93 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.003898/0.8302, allocations: 1.704 MB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002345/0.8326, allocations: 1.144 MB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.8328, allocations: 0 / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0003126/0.8331, allocations: 23.92 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.8336, allocations: 51.91 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.8341, allocations: 124.9 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000445/0.8345, allocations: 213.5 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.8347, allocations: 24.2 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.8348, allocations: 71.81 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.8352, allocations: 79.78 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.365e-05/0.8353, allocations: 15.98 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002069/0.8355, allocations: 67.92 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001261/0.8356, allocations: 75.73 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.8358, allocations: 95.39 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.8362, allocations: 261.3 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.8363, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8363, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.8363, allocations: 0 / 1.02 GB, free: 14.98 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.00102/0.8373, allocations: 0.5383 MB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.8374, allocations: 12.03 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.8375, allocations: 28.66 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.8378, allocations: 267.6 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.8379, allocations: 8.375 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.8379, allocations: 16.38 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004363/0.8383, allocations: 220.8 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.8384, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.8384, allocations: 12 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.8384, allocations: 4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009169/0.8393, allocations: 0.7334 MB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.8404, allocations: 0.5705 MB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006236/0.841, allocations: 304.2 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.8412, allocations: 101.4 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.8413, allocations: 20.25 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004868/0.8418, allocations: 180.8 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.8418, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0007683/0.8426, allocations: 365.2 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.132e-05/0.8427, allocations: 132.5 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/0.843, allocations: 300.1 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.011e-05/0.843, allocations: 29.7 kB / 1.024 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.8431, allocations: 128.7 kB / 1.024 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.8432, allocations: 114.4 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.8433, allocations: 61.69 kB / 1.024 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.8435, allocations: 346.7 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.8436, allocations: 83.89 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.8438, allocations: 132.5 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.8442, allocations: 213 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.8442, allocations: 4 kB / 1.025 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005565/0.8448, allocations: 277.1 kB / 1.025 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.8448, allocations: 4 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.8448, allocations: 0 / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.8448, allocations: 7.938 kB / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.8451, allocations: 59.91 kB / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.8451, allocations: 0 / 1.026 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.8453, allocations: 35.77 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.953e-05/0.8453, allocations: 15.98 kB / 1.026 GB, free: 9.449 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.0001845/0.8455, allocations: 165.7 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.566e-05/0.8456, allocations: 23.72 kB / 1.026 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006938/0.8463, allocations: 381.5 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.8463, allocations: 8 kB / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.8463, allocations: 0 / 1.026 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.8463, allocations: 3.938 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.8467, allocations: 333.2 kB / 1.026 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.8467, allocations: 0 / 1.026 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/0.8469, allocations: 59.91 kB / 1.026 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.8469, allocations: 4 kB / 1.026 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.8469, allocations: 8 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.8469, allocations: 0 / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8469, allocations: 0 / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.8474, allocations: 329.7 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.8476, allocations: 140.6 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.8477, allocations: 12 kB / 1.027 GB, free: 7.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001412/0.8478, allocations: 11.98 kB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.8479, allocations: 19.97 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.8479, allocations: 23.92 kB / 1.027 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000248/0.8482, allocations: 229.5 kB / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8482, allocations: 0 / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003207/0.8485, allocations: 63.98 kB / 1.027 GB, free: 7.57 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.001015/0.8496, allocations: 407 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004369/0.85, allocations: 231.9 kB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.85, allocations: 0 / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.8502, allocations: 128.5 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.8506, allocations: 29.22 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.8516, allocations: 0.5796 MB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000402/0.852, allocations: 0.7613 MB / 1.029 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003371/0.8524, allocations: 138.9 kB / 1.029 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.8525, allocations: 39.42 kB / 1.03 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of SimCode: time 2.424e-06/0.8525, allocations: 4 kB / 1.03 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of Templates: time 0.007477/0.86, allocations: 2.889 MB / 1.032 GB, free: 2.496 MB / 0.7794 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