Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 108 kB / 15.61 MB, free: 152 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.001932/0.001932, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.632/2.632, allocations: 437 MB / 0.7103 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 59.91 kB / 0.8692 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6737/0.675, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.007557/0.6826, allocations: 4.509 MB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1674/0.85, allocations: 150.6 MB / 1.169 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007672/0.8508, allocations: 15.94 kB / 1.169 GB, free: 6.809 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006385/0.8515, allocations: 174.4 kB / 1.169 GB, free: 6.637 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.8533, allocations: 0.5087 MB / 1.169 GB, free: 6.129 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001706/0.855, allocations: 0.7491 MB / 1.17 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001324/0.8564, allocations: 1.246 MB / 1.171 GB, free: 4.137 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007838/0.8572, allocations: 0.4908 MB / 1.172 GB, free: 3.625 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005776/0.8577, allocations: 414.6 kB / 1.172 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005968/0.8584, allocations: 430.1 kB / 1.173 GB, free: 2.797 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.8585, allocations: 96 kB / 1.173 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007193/0.8592, allocations: 371.7 kB / 1.173 GB, free: 2.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.8595, allocations: 259.2 kB / 1.173 GB, free: 2.086 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004253/0.8599, allocations: 481.5 kB / 1.174 GB, free: 1.613 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.8613, allocations: 1.379 MB / 1.175 GB, free: 236 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8614, allocations: 0 / 1.175 GB, free: 236 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8614, allocations: 0 / 1.175 GB, free: 236 kB / 0.92 GB Notification: Performance of Transformations before backend: time 1.661e-05/0.8614, allocations: 0 / 1.175 GB, free: 236 kB / 0.92 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.002065/0.8635, allocations: 1.269 MB / 1.176 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.8635, allocations: 8.031 kB / 1.176 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.8638, allocations: 111.7 kB / 1.176 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009058/0.8648, allocations: 0.6955 MB / 1.177 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.8648, allocations: 54 kB / 1.177 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.458e-05/0.8649, allocations: 64 kB / 1.177 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.8661, allocations: 0.772 MB / 1.178 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.8661, allocations: 0 / 1.178 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.118e-05/0.8662, allocations: 35.98 kB / 1.178 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.8662, allocations: 16 kB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.8676, allocations: 0.9688 MB / 1.179 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003263/0.8708, allocations: 2.49 MB / 1.181 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.872, allocations: 0.6837 MB / 1.182 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.8724, allocations: 247.3 kB / 1.182 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.968e-05/0.8725, allocations: 32.5 kB / 1.182 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006535/0.8731, allocations: 419.5 kB / 1.183 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 2.264e-06/0.8732, allocations: 0 / 1.183 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001559/0.8747, allocations: 0.8415 MB / 1.184 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.8749, allocations: 243.8 kB / 1.184 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007073/0.8756, allocations: 0.6293 MB / 1.184 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.8756, allocations: 41.7 kB / 1.184 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000256/0.8759, allocations: 368.3 kB / 1.185 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.8761, allocations: 220.8 kB / 1.185 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000215/0.8763, allocations: 154.4 kB / 1.185 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.8765, allocations: 386.8 kB / 1.186 GB, free: 5.16 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.8768, allocations: 221.9 kB / 1.186 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004963/0.8773, allocations: 333.4 kB / 1.186 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008163/0.8781, allocations: 0.5134 MB / 1.187 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.8782, allocations: 4 kB / 1.187 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001202/0.8794, allocations: 0.6799 MB / 1.187 GB, free: 3.371 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.8794, allocations: 4 kB / 1.187 GB, free: 3.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.8794, allocations: 4.109 kB / 1.187 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.8794, allocations: 11.88 kB / 1.187 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.88, allocations: 151.7 kB / 1.187 GB, free: 3.203 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.88, allocations: 11.94 kB / 1.187 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000627/0.8806, allocations: 83.55 kB / 1.188 GB, free: 3.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-05/0.8807, allocations: 31.98 kB / 1.188 GB, free: 3.078 MB / 0.9356 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.0003887/0.8811, allocations: 263.3 kB / 1.188 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.8812, allocations: 79.06 kB / 1.188 GB, free: 2.734 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.8828, allocations: 0.8485 MB / 1.189 GB, free: 1.875 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.8828, allocations: 8 kB / 1.189 GB, free: 1.867 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.8828, allocations: 3.938 kB / 1.189 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.8828, allocations: 3.984 kB / 1.189 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.8839, allocations: 0.9676 MB / 1.19 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.8839, allocations: 0 / 1.19 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004237/0.8844, allocations: 123.8 kB / 1.19 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/0.8844, allocations: 11.92 kB / 1.19 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.8844, allocations: 19.98 kB / 1.19 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.8844, allocations: 0 / 1.19 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8844, allocations: 0 / 1.19 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.8856, allocations: 0.7432 MB / 1.191 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.8859, allocations: 259.8 kB / 1.191 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.886, allocations: 16 kB / 1.191 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005148/0.8865, allocations: 56.72 kB / 1.191 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.8867, allocations: 56.58 kB / 1.191 GB, free: 15.51 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.573e-05/0.8867, allocations: 31.98 kB / 1.191 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005139/0.8873, allocations: 463 kB / 1.191 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8873, allocations: 0 / 1.191 GB, free: 15.03 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007026/0.888, allocations: 271.5 kB / 1.192 GB, free: 14.77 MB / 0.9512 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.001394/0.8894, allocations: 0.6083 MB / 1.192 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001705/0.8911, allocations: 0.7551 MB / 1.193 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.8911, allocations: 4.312 kB / 1.193 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.8916, allocations: 327.6 kB / 1.193 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.8929, allocations: 268.8 kB / 1.194 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.8958, allocations: 1.452 MB / 1.195 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005929/0.8964, allocations: 0.9797 MB / 1.196 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007612/0.8971, allocations: 250.3 kB / 1.196 GB, free: 10.28 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.8974, allocations: 99.38 kB / 1.196 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of SimCode: time 5.11e-07/0.8974, allocations: 4 kB / 1.196 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of Templates: time 0.02122/0.9186, allocations: 12.71 MB / 1.209 GB, free: 13.62 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches