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.001142/0.001142, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001408/0.001408, allocations: 192.4 kB / 16.25 MB, free: 6.16 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.387 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.832/2.832, allocations: 437 MB / 0.71 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.89 kB / 0.8687 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7316/0.733, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.0033/0.7364, allocations: 1.693 MB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002298/0.7387, allocations: 1.152 MB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.7389, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.7394, allocations: 27.91 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.7398, allocations: 49.09 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.7403, allocations: 123.8 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.7407, allocations: 237.5 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.7408, allocations: 28.2 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.741, allocations: 75.83 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.7412, allocations: 87.77 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.7413, allocations: 20 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.7414, allocations: 79.91 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.7416, allocations: 79.75 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.7418, allocations: 103.4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.7421, allocations: 273.2 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.7422, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7422, allocations: 0 / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.7422, allocations: 4 kB / 1.021 GB, free: 14.69 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.0007714/0.743, allocations: 0.5344 MB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.743, allocations: 8.031 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.7431, allocations: 24.66 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.7433, allocations: 267.6 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.7434, allocations: 12.38 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.7434, allocations: 20.38 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.7438, allocations: 220.8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.7438, allocations: 0 / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.096e-05/0.7439, allocations: 7.984 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.7439, allocations: 4 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009601/0.7449, allocations: 0.7373 MB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009412/0.7458, allocations: 0.5705 MB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004846/0.7463, allocations: 300.2 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.7465, allocations: 105.4 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.945e-05/0.7465, allocations: 20.23 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/0.7469, allocations: 184.8 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/0.7469, allocations: 0 / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0006559/0.7476, allocations: 361.2 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/0.7476, allocations: 132.5 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000282/0.7479, allocations: 300 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.253e-05/0.748, allocations: 37.7 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.252e-05/0.7481, allocations: 120.7 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/0.7482, allocations: 114.4 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.437e-05/0.7483, allocations: 69.69 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.7484, allocations: 334.8 kB / 1.025 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.7485, allocations: 83.89 kB / 1.025 GB, free: 9.914 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/0.7488, allocations: 128.6 kB / 1.025 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.7491, allocations: 213 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7491, allocations: 4 kB / 1.025 GB, free: 9.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000484/0.7496, allocations: 273.2 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.7496, allocations: 8 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.7497, allocations: 3.938 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.7497, allocations: 4 kB / 1.026 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.7499, allocations: 59.91 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.75, allocations: 4 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.7501, allocations: 31.67 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.7502, allocations: 11.98 kB / 1.026 GB, free: 9.168 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.0001734/0.7503, allocations: 161.8 kB / 1.026 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.203e-05/0.7504, allocations: 27.72 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000699/0.7511, allocations: 385.5 kB / 1.026 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.7511, allocations: 4 kB / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.7511, allocations: 0 / 1.026 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.7512, allocations: 7.922 kB / 1.026 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004185/0.7516, allocations: 329.2 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7516, allocations: 0 / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.7518, allocations: 59.91 kB / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.7518, allocations: 0 / 1.027 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.7518, allocations: 15.98 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.7518, allocations: 0 / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.7518, allocations: 0 / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004628/0.7523, allocations: 317.8 kB / 1.027 GB, free: 7.805 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.7524, allocations: 148.7 kB / 1.027 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.7525, allocations: 7.938 kB / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.7526, allocations: 23.98 kB / 1.027 GB, free: 7.609 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.056e-05/0.7527, allocations: 27.95 kB / 1.027 GB, free: 7.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.7527, allocations: 11.94 kB / 1.027 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001953/0.7529, allocations: 241.5 kB / 1.027 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7529, allocations: 0 / 1.027 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003051/0.7533, allocations: 52 kB / 1.028 GB, free: 7.285 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.001023/0.7543, allocations: 396.6 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005587/0.7549, allocations: 307.9 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.7549, allocations: 0 / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000206/0.7551, allocations: 132.4 kB / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.7554, allocations: 39.83 kB / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008512/0.7563, allocations: 0.5719 MB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.7567, allocations: 0.7574 MB / 1.03 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003205/0.757, allocations: 150.8 kB / 1.03 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.025e-05/0.7571, allocations: 47.3 kB / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7571, allocations: 0 / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of Templates: time 0.00641/0.7635, allocations: 2.957 MB / 1.033 GB, free: 2.059 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