Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001333/0.001333, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.688/2.688, allocations: 437.7 MB / 0.7117 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003728, allocations: 12 kB / 0.8722 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.754/0.7544, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.005463/0.7599, allocations: 3.908 MB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.9297, allocations: 136.8 MB / 1.16 GB, free: 2.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008499/0.9306, allocations: 15.94 kB / 1.16 GB, free: 2.965 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.9311, allocations: 130.9 kB / 1.16 GB, free: 2.836 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001554/0.9327, allocations: 425.8 kB / 1.16 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.9344, allocations: 0.5697 MB / 1.161 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001322/0.9357, allocations: 1.073 MB / 1.162 GB, free: 0.7812 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005838/0.9363, allocations: 351.6 kB / 1.162 GB, free: 436 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.9368, allocations: 290.7 kB / 1.163 GB, free: 144 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004597/0.9372, allocations: 322.4 kB / 1.163 GB, free: 15.82 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.966e-05/0.9373, allocations: 28 kB / 1.163 GB, free: 15.8 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006159/0.9379, allocations: 267.7 kB / 1.163 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.9381, allocations: 167.3 kB / 1.163 GB, free: 15.37 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.9383, allocations: 177.2 kB / 1.163 GB, free: 15.19 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.9393, allocations: 1.017 MB / 1.164 GB, free: 14.17 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.9394, allocations: 7.938 kB / 1.164 GB, free: 14.16 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.073e-06/0.9394, allocations: 0 / 1.164 GB, free: 14.16 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.9394, allocations: 0 / 1.164 GB, free: 14.16 MB / 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.002023/0.9414, allocations: 1.094 MB / 1.166 GB, free: 13.02 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.9415, allocations: 12.5 kB / 1.166 GB, free: 13 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.9417, allocations: 106.8 kB / 1.166 GB, free: 12.9 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009692/0.9427, allocations: 0.6604 MB / 1.166 GB, free: 12.2 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-05/0.9428, allocations: 50 kB / 1.166 GB, free: 12.15 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.9429, allocations: 71.92 kB / 1.166 GB, free: 12.08 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.9441, allocations: 0.7759 MB / 1.167 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.9441, allocations: 0 / 1.167 GB, free: 11.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.709e-05/0.9442, allocations: 28 kB / 1.167 GB, free: 11.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.9442, allocations: 20 kB / 1.167 GB, free: 11.21 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.9456, allocations: 0.965 MB / 1.168 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00354/0.9491, allocations: 2.507 MB / 1.171 GB, free: 7.648 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.9503, allocations: 0.6771 MB / 1.171 GB, free: 6.961 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003893/0.9507, allocations: 251.3 kB / 1.171 GB, free: 6.711 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-05/0.9508, allocations: 32.52 kB / 1.172 GB, free: 6.68 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007434/0.9516, allocations: 430.1 kB / 1.172 GB, free: 6.238 MB / 0.92 GB Notification: Performance of pre-optimization done (n=70): time 2.615e-06/0.9516, allocations: 0 / 1.172 GB, free: 6.238 MB / 0.92 GB Notification: Performance of matching and sorting (n=70): time 0.001583/0.9532, allocations: 0.8221 MB / 1.173 GB, free: 5.41 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.9533, allocations: 247.8 kB / 1.173 GB, free: 5.113 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/0.9541, allocations: 0.6254 MB / 1.174 GB, free: 4.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.51e-05/0.9542, allocations: 41.7 kB / 1.174 GB, free: 4.434 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.9545, allocations: 356.4 kB / 1.174 GB, free: 4.078 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.9547, allocations: 224.8 kB / 1.174 GB, free: 3.855 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.208e-05/0.9548, allocations: 12 kB / 1.174 GB, free: 3.844 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.955, allocations: 382.8 kB / 1.175 GB, free: 3.461 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.9554, allocations: 218 kB / 1.175 GB, free: 3.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.9559, allocations: 337.3 kB / 1.175 GB, free: 2.895 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004428/0.9563, allocations: 255.1 kB / 1.175 GB, free: 2.645 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9563, allocations: 0 / 1.175 GB, free: 2.645 MB / 0.92 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001133/0.9575, allocations: 0.6838 MB / 1.176 GB, free: 1.953 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.9575, allocations: 11.95 kB / 1.176 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.9575, allocations: 0 / 1.176 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.9575, allocations: 4 kB / 1.176 GB, free: 1.938 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00057/0.9581, allocations: 147.8 kB / 1.176 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.9581, allocations: 4 kB / 1.176 GB, free: 1.789 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.9587, allocations: 99.45 kB / 1.176 GB, free: 1.691 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.9588, allocations: 31.97 kB / 1.176 GB, free: 1.66 MB / 0.92 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004/0.9592, allocations: 259.5 kB / 1.177 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.9593, allocations: 82.98 kB / 1.177 GB, free: 1.316 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001587/0.9609, allocations: 0.856 MB / 1.177 GB, free: 460 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.9609, allocations: 8 kB / 1.177 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.961, allocations: 0 / 1.177 GB, free: 452 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.961, allocations: 3.984 kB / 1.177 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.9622, allocations: 0.9637 MB / 1.178 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.9622, allocations: 0 / 1.178 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004563/0.9627, allocations: 131.8 kB / 1.179 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.9627, allocations: 4 kB / 1.179 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.746e-05/0.9627, allocations: 23.98 kB / 1.179 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.9627, allocations: 4 kB / 1.179 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9627, allocations: 3.938 kB / 1.179 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001114/0.9639, allocations: 0.7355 MB / 1.179 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003387/0.9642, allocations: 267.7 kB / 1.18 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.9643, allocations: 23.95 kB / 1.18 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004984/0.9648, allocations: 70.64 kB / 1.18 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.965, allocations: 60.56 kB / 1.18 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.827e-05/0.965, allocations: 31.98 kB / 1.18 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000564/0.9656, allocations: 451 kB / 1.18 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9656, allocations: 0 / 1.18 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007739/0.9664, allocations: 275.4 kB / 1.18 GB, free: 13.32 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001438/0.9678, allocations: 0.6049 MB / 1.181 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.9689, allocations: 0.5755 MB / 1.182 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.969, allocations: 4 kB / 1.182 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.9695, allocations: 319.6 kB / 1.182 GB, free: 12 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.9706, allocations: 244.6 kB / 1.182 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.9732, allocations: 1.726 MB / 1.184 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.9737, allocations: 0.9767 MB / 1.185 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007418/0.9745, allocations: 246.2 kB / 1.185 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002192/0.9747, allocations: 95.39 kB / 1.185 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.9747, allocations: 0 / 1.185 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of Templates: time 0.02089/0.9956, allocations: 11.79 MB / 1.197 GB, free: 13.05 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches