Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.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.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 103 kB / 16.27 MB, free: 6.402 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.001785/0.001785, allocations: 191 kB / 17.2 MB, free: 5.969 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.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.496/2.496, allocations: 437 MB / 0.711 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 65.16 kB / 0.8699 GB, free: 2.219 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2769, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.006479/0.2835, allocations: 4.534 MB / 1.022 GB, free: 6.109 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.668/0.9515, allocations: 150.5 MB / 1.169 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008839/0.9524, allocations: 19.81 kB / 1.169 GB, free: 0.8164 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008067/0.9533, allocations: 175.5 kB / 1.17 GB, free: 0.7031 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.002187/0.9555, allocations: 0.5059 MB / 1.17 GB, free: 424 kB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.9577, allocations: 0.7562 MB / 1.171 GB, free: 24 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001788/0.9595, allocations: 1.237 MB / 1.172 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009882/0.9605, allocations: 0.4929 MB / 1.172 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007363/0.9613, allocations: 408.3 kB / 1.173 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007915/0.9621, allocations: 425.7 kB / 1.173 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0003056/0.9624, allocations: 96.56 kB / 1.173 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001042/0.9634, allocations: 376.2 kB / 1.174 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.9638, allocations: 252.8 kB / 1.174 GB, free: 14.46 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0008129/0.9647, allocations: 490.5 kB / 1.174 GB, free: 14.13 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.9669, allocations: 1.378 MB / 1.176 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.9669, allocations: 0 / 1.176 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9669, allocations: 0 / 1.176 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.262e-05/0.967, allocations: 0 / 1.176 GB, free: 13.42 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003222/0.9702, allocations: 1.269 MB / 1.177 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.9702, allocations: 14.25 kB / 1.177 GB, free: 12.39 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004671/0.9707, allocations: 105.2 kB / 1.177 GB, free: 12.34 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.972, allocations: 0.6979 MB / 1.178 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/0.9721, allocations: 53.72 kB / 1.178 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.9722, allocations: 62.69 kB / 1.178 GB, free: 11.72 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.9737, allocations: 0.7827 MB / 1.179 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.9737, allocations: 1.375 kB / 1.179 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.438e-05/0.9738, allocations: 28.25 kB / 1.179 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/0.9738, allocations: 20.44 kB / 1.179 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.9753, allocations: 0.9666 MB / 1.18 GB, free: 10.7 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.9792, allocations: 2.489 MB / 1.182 GB, free: 8.672 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001245/0.9805, allocations: 0.6822 MB / 1.183 GB, free: 8.309 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/0.9809, allocations: 254.1 kB / 1.183 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.834e-05/0.981, allocations: 29.78 kB / 1.183 GB, free: 8.16 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007088/0.9817, allocations: 422.1 kB / 1.183 GB, free: 7.891 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=70): time 2.886e-06/0.9817, allocations: 4 kB / 1.183 GB, free: 7.887 MB / 0.8887 GB Notification: Performance of matching and sorting (n=70): time 0.001577/0.9833, allocations: 0.835 MB / 1.184 GB, free: 7.477 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.9835, allocations: 248.7 kB / 1.185 GB, free: 7.188 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008597/0.9843, allocations: 0.6228 MB / 1.185 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.648e-05/0.9844, allocations: 42.81 kB / 1.185 GB, free: 6.781 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.9847, allocations: 362.3 kB / 1.186 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.9849, allocations: 225.4 kB / 1.186 GB, free: 6.27 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.9851, allocations: 155.6 kB / 1.186 GB, free: 6.176 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001589/0.9853, allocations: 387 kB / 1.186 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.9857, allocations: 219.2 kB / 1.186 GB, free: 5.699 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.9862, allocations: 331.6 kB / 1.187 GB, free: 5.492 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007937/0.987, allocations: 0.5276 MB / 1.187 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.987, allocations: 3.938 kB / 1.187 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001152/0.9881, allocations: 0.6774 MB / 1.188 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.9882, allocations: 5.312 kB / 1.188 GB, free: 4.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.9882, allocations: 9.109 kB / 1.188 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.9882, allocations: 4.5 kB / 1.188 GB, free: 4.84 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005544/0.9888, allocations: 142 kB / 1.188 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.9888, allocations: 4.688 kB / 1.188 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006892/0.9895, allocations: 88.14 kB / 1.188 GB, free: 4.754 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.895e-05/0.9896, allocations: 37.61 kB / 1.188 GB, free: 4.738 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * 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.0004058/0.99, allocations: 260.9 kB / 1.188 GB, free: 4.535 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.9902, allocations: 76.5 kB / 1.189 GB, free: 4.496 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001542/0.9918, allocations: 0.8533 MB / 1.189 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.9918, allocations: 7.75 kB / 1.189 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.9918, allocations: 2.5 kB / 1.189 GB, free: 4.027 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.9918, allocations: 7.922 kB / 1.189 GB, free: 4.02 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.993, allocations: 0.9621 MB / 1.19 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.993, allocations: 0 / 1.19 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004162/0.9934, allocations: 127.2 kB / 1.19 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.9934, allocations: 2.594 kB / 1.19 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.929e-05/0.9935, allocations: 27.95 kB / 1.19 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.9935, allocations: 5.25 kB / 1.19 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9935, allocations: 3.938 kB / 1.191 GB, free: 3.188 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.9947, allocations: 0.7371 MB / 1.191 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003482/0.995, allocations: 257.6 kB / 1.191 GB, free: 2.559 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001594/0.9952, allocations: 21.47 kB / 1.191 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/0.9957, allocations: 54 kB / 1.192 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.9959, allocations: 56.89 kB / 1.192 GB, free: 2.488 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.9959, allocations: 37.03 kB / 1.192 GB, free: 2.473 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005332/0.9965, allocations: 450.6 kB / 1.192 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9965, allocations: 0 / 1.192 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0008123/0.9973, allocations: 276.6 kB / 1.192 GB, free: 2.137 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001439/0.9987, allocations: 0.6015 MB / 1.193 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001514/1, allocations: 0.7534 MB / 1.194 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1, allocations: 2.406 kB / 1.194 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.00047/1.001, allocations: 322.9 kB / 1.194 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/1.002, allocations: 276.9 kB / 1.194 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/1.005, allocations: 1.492 MB / 1.196 GB, free: 376 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005807/1.005, allocations: 0.9752 MB / 1.197 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002918/1.006, allocations: 108.8 kB / 1.197 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of SimCode: time 5.51e-07/1.006, allocations: 0 / 1.197 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of Templates: time 0.02138/1.027, allocations: 13.47 MB / 1.21 GB, free: 4.621 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,weaDat.weaBus.TDryBul Variables in the result:time,weaDat.weaBus.TDryBul