Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001087/0.001087, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001052/0.001052, allocations: 187 kB / 17.34 MB, free: 5.762 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.315/2.315, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 64.11 kB / 1.055 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6624/0.6636, allocations: 157.4 MB / 1.208 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData): time 0.005856/0.6695, allocations: 4.533 MB / 1.213 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1451/0.8147, allocations: 150.5 MB / 1.36 GB, free: 2.02 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006945/0.8154, allocations: 19.88 kB / 1.36 GB, free: 2 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006203/0.816, allocations: 178.3 kB / 1.36 GB, free: 1.824 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.8177, allocations: 0.5086 MB / 1.361 GB, free: 1.316 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.8193, allocations: 0.7549 MB / 1.361 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.8207, allocations: 1.25 MB / 1.362 GB, free: 15.31 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007187/0.8214, allocations: 498.7 kB / 1.363 GB, free: 14.8 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000576/0.822, allocations: 414.5 kB / 1.363 GB, free: 14.4 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005602/0.8226, allocations: 430.1 kB / 1.364 GB, free: 13.98 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/0.8228, allocations: 96 kB / 1.364 GB, free: 13.88 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000689/0.8235, allocations: 407.6 kB / 1.364 GB, free: 13.48 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002294/0.8237, allocations: 259.1 kB / 1.364 GB, free: 13.23 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004463/0.8242, allocations: 481.5 kB / 1.365 GB, free: 12.76 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.8256, allocations: 1.403 MB / 1.366 GB, free: 11.35 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.8257, allocations: 4 kB / 1.366 GB, free: 11.35 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8257, allocations: 0 / 1.366 GB, free: 11.35 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.664e-05/0.8257, allocations: 0 / 1.366 GB, free: 11.35 MB / 1.092 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.002179/0.8279, allocations: 1.269 MB / 1.368 GB, free: 10.03 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.8279, allocations: 12.03 kB / 1.368 GB, free: 10.02 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003014/0.8282, allocations: 107.6 kB / 1.368 GB, free: 9.91 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009967/0.8292, allocations: 0.7189 MB / 1.368 GB, free: 9.148 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.8293, allocations: 50 kB / 1.368 GB, free: 9.102 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.608e-05/0.8294, allocations: 71.98 kB / 1.368 GB, free: 9.031 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.8305, allocations: 0.7682 MB / 1.369 GB, free: 8.207 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.8306, allocations: 4 kB / 1.369 GB, free: 8.203 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/0.8306, allocations: 24 kB / 1.369 GB, free: 8.18 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.8307, allocations: 23.94 kB / 1.369 GB, free: 8.156 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.8319, allocations: 0.965 MB / 1.37 GB, free: 7.188 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.835, allocations: 2.462 MB / 1.373 GB, free: 4.645 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.836, allocations: 0.6915 MB / 1.373 GB, free: 3.938 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003485/0.8364, allocations: 255.2 kB / 1.374 GB, free: 3.684 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 5.859e-05/0.8364, allocations: 24.53 kB / 1.374 GB, free: 3.66 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005938/0.837, allocations: 426.3 kB / 1.374 GB, free: 3.223 MB / 1.092 GB Notification: Performance of pre-optimization done (n=70): time 2.304e-06/0.8371, allocations: 0 / 1.374 GB, free: 3.223 MB / 1.092 GB Notification: Performance of matching and sorting (n=70): time 0.001377/0.8384, allocations: 0.8389 MB / 1.375 GB, free: 2.379 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.8386, allocations: 243.8 kB / 1.375 GB, free: 2.086 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/0.8392, allocations: 0.6253 MB / 1.376 GB, free: 1.453 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/0.8393, allocations: 41.7 kB / 1.376 GB, free: 1.406 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.8396, allocations: 360.4 kB / 1.376 GB, free: 1.051 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.8397, allocations: 224.8 kB / 1.376 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.8399, allocations: 154.7 kB / 1.376 GB, free: 0.6719 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8401, allocations: 386.8 kB / 1.377 GB, free: 292 kB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.8404, allocations: 217.9 kB / 1.377 GB, free: 76 kB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/0.8409, allocations: 333.4 kB / 1.377 GB, free: 15.73 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/0.8416, allocations: 0.5211 MB / 1.378 GB, free: 15.19 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8416, allocations: 4 kB / 1.378 GB, free: 15.18 MB / 1.107 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001027/0.8426, allocations: 0.6839 MB / 1.378 GB, free: 14.49 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.8427, allocations: 10.22 kB / 1.378 GB, free: 14.48 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.8427, allocations: 4 kB / 1.378 GB, free: 14.48 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.8427, allocations: 4 kB / 1.378 GB, free: 14.48 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000483/0.8432, allocations: 139.8 kB / 1.379 GB, free: 14.34 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.8432, allocations: 7.938 kB / 1.379 GB, free: 14.33 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005329/0.8437, allocations: 87.56 kB / 1.379 GB, free: 14.25 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.8438, allocations: 43.91 kB / 1.379 GB, free: 14.2 MB / 1.107 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.0002902/0.8441, allocations: 259.4 kB / 1.379 GB, free: 13.94 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.8442, allocations: 79.06 kB / 1.379 GB, free: 13.86 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.8456, allocations: 0.8407 MB / 1.38 GB, free: 13.01 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.8456, allocations: 8 kB / 1.38 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.8456, allocations: 3.938 kB / 1.38 GB, free: 13 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.8456, allocations: 3.984 kB / 1.38 GB, free: 12.99 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009209/0.8466, allocations: 0.9559 MB / 1.381 GB, free: 11.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.8466, allocations: 12.03 kB / 1.381 GB, free: 11.96 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004024/0.847, allocations: 123.8 kB / 1.381 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.847, allocations: 3.938 kB / 1.381 GB, free: 11.84 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.847, allocations: 23.98 kB / 1.381 GB, free: 11.82 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.8471, allocations: 4 kB / 1.381 GB, free: 11.81 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.8471, allocations: 7.922 kB / 1.381 GB, free: 11.8 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009974/0.8481, allocations: 0.7315 MB / 1.382 GB, free: 11.05 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.8483, allocations: 267.8 kB / 1.382 GB, free: 10.77 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.8484, allocations: 16 kB / 1.382 GB, free: 10.76 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004725/0.8489, allocations: 51.94 kB / 1.382 GB, free: 10.71 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.849, allocations: 64.56 kB / 1.382 GB, free: 10.64 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.953e-05/0.8491, allocations: 31.92 kB / 1.382 GB, free: 10.61 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0004613/0.8496, allocations: 455 kB / 1.383 GB, free: 10.17 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8496, allocations: 4 kB / 1.383 GB, free: 10.16 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0006284/0.8502, allocations: 271.4 kB / 1.383 GB, free: 9.898 MB / 1.107 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.001201/0.8514, allocations: 0.6064 MB / 1.383 GB, free: 9.465 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008494/0.8523, allocations: 0.5794 MB / 1.384 GB, free: 8.887 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.8523, allocations: 3.984 kB / 1.384 GB, free: 8.883 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.8527, allocations: 323.9 kB / 1.384 GB, free: 8.566 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009681/0.8537, allocations: 279.8 kB / 1.385 GB, free: 8.316 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.8557, allocations: 1.454 MB / 1.386 GB, free: 6.824 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.8562, allocations: 0.9758 MB / 1.387 GB, free: 5.82 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.8564, allocations: 111.4 kB / 1.387 GB, free: 5.711 MB / 1.107 GB Notification: Performance of SimCode: time 3.3e-07/0.8564, allocations: 0 / 1.387 GB, free: 5.711 MB / 1.107 GB Notification: Performance of Templates: time 0.01652/0.873, allocations: 13.57 MB / 1.4 GB, free: 8.191 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.Validation.OverAYear_usingOneYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_Validation_OverAYear_usingOneYearData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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