Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009663/0.009663, allocations: 101 kB / 15.73 MB, free: 6.445 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.002419/0.002419, allocations: 191.1 kB / 16.67 MB, free: 6.348 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.728/2.728, allocations: 437 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3703, allocations: 151.6 MB / 1.167 GB, free: 6.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.007035/0.3774, allocations: 4.531 MB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 1.069/1.446, allocations: 150.6 MB / 1.318 GB, free: 10.61 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/1.448, allocations: 20.25 kB / 1.318 GB, free: 10.6 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/1.449, allocations: 168.9 kB / 1.318 GB, free: 10.51 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003123/1.452, allocations: 0.5095 MB / 1.319 GB, free: 10.3 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003379/1.455, allocations: 0.7667 MB / 1.319 GB, free: 10.15 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002484/1.458, allocations: 1.248 MB / 1.321 GB, free: 9.938 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/1.459, allocations: 0.4913 MB / 1.321 GB, free: 9.805 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001332/1.461, allocations: 422.5 kB / 1.322 GB, free: 9.711 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009517/1.462, allocations: 425.6 kB / 1.322 GB, free: 9.598 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.000388/1.462, allocations: 97.56 kB / 1.322 GB, free: 9.598 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/1.463, allocations: 396 kB / 1.322 GB, free: 9.578 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004353/1.464, allocations: 262.3 kB / 1.323 GB, free: 9.523 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009674/1.465, allocations: 486.2 kB / 1.323 GB, free: 9.367 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003036/1.468, allocations: 1.41 MB / 1.325 GB, free: 8.824 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/1.468, allocations: 5.75 kB / 1.325 GB, free: 8.82 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.964e-06/1.468, allocations: 0 / 1.325 GB, free: 8.82 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.996e-05/1.468, allocations: 0 / 1.325 GB, free: 8.82 MB / 1.014 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.004034/1.472, allocations: 1.309 MB / 1.326 GB, free: 7.895 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/1.472, allocations: 9.344 kB / 1.326 GB, free: 7.895 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006044/1.473, allocations: 115.4 kB / 1.326 GB, free: 7.836 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/1.474, allocations: 0.7189 MB / 1.327 GB, free: 7.367 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/1.474, allocations: 51.12 kB / 1.327 GB, free: 7.344 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/1.474, allocations: 64.69 kB / 1.327 GB, free: 7.324 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/1.476, allocations: 0.776 MB / 1.328 GB, free: 6.918 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/1.476, allocations: 0 / 1.328 GB, free: 6.918 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.588e-05/1.476, allocations: 28.61 kB / 1.328 GB, free: 6.898 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/1.476, allocations: 17.56 kB / 1.328 GB, free: 6.898 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/1.478, allocations: 0.9771 MB / 1.329 GB, free: 6.68 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004055/1.482, allocations: 2.464 MB / 1.331 GB, free: 5.086 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/1.484, allocations: 0.6829 MB / 1.332 GB, free: 4.797 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004046/1.484, allocations: 246.2 kB / 1.332 GB, free: 4.695 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 7.047e-05/1.484, allocations: 35.58 kB / 1.332 GB, free: 4.676 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006808/1.485, allocations: 422.2 kB / 1.332 GB, free: 4.496 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 3.066e-06/1.485, allocations: 0 / 1.332 GB, free: 4.496 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.001692/1.486, allocations: 0.8389 MB / 1.333 GB, free: 4.164 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/1.487, allocations: 243.5 kB / 1.333 GB, free: 3.883 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009826/1.488, allocations: 0.6382 MB / 1.334 GB, free: 3.594 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-05/1.488, allocations: 43.05 kB / 1.334 GB, free: 3.551 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/1.488, allocations: 352.8 kB / 1.334 GB, free: 3.27 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/1.488, allocations: 244.2 kB / 1.335 GB, free: 3.078 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002679/1.488, allocations: 154.1 kB / 1.335 GB, free: 3.004 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001861/1.489, allocations: 382.5 kB / 1.335 GB, free: 2.66 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004358/1.489, allocations: 223.2 kB / 1.335 GB, free: 2.582 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/1.49, allocations: 340.2 kB / 1.336 GB, free: 2.41 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009004/1.491, allocations: 0.5208 MB / 1.336 GB, free: 2.148 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.491, allocations: 0 / 1.336 GB, free: 2.148 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001315/1.492, allocations: 0.6837 MB / 1.337 GB, free: 1.863 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.492, allocations: 7.047 kB / 1.337 GB, free: 1.863 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.492, allocations: 1.625 kB / 1.337 GB, free: 1.863 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/1.492, allocations: 3.219 kB / 1.337 GB, free: 1.863 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/1.493, allocations: 143.2 kB / 1.337 GB, free: 1.852 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.767e-05/1.493, allocations: 4.375 kB / 1.337 GB, free: 1.852 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007093/1.493, allocations: 103.2 kB / 1.337 GB, free: 1.797 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/1.493, allocations: 34.58 kB / 1.337 GB, free: 1.789 MB / 1.014 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.0004377/1.494, allocations: 255.7 kB / 1.337 GB, free: 1.594 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/1.494, allocations: 82.25 kB / 1.337 GB, free: 1.551 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/1.496, allocations: 0.8466 MB / 1.338 GB, free: 1.203 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/1.496, allocations: 8.391 kB / 1.338 GB, free: 1.203 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.496, allocations: 7.938 kB / 1.338 GB, free: 1.195 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/1.496, allocations: 9.438 kB / 1.338 GB, free: 1.191 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/1.497, allocations: 0.9756 MB / 1.339 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/1.497, allocations: 0.8125 kB / 1.339 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/1.498, allocations: 123.8 kB / 1.339 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.117e-05/1.498, allocations: 2.188 kB / 1.339 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/1.498, allocations: 28.38 kB / 1.339 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/1.498, allocations: 3.5 kB / 1.339 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.498, allocations: 1 kB / 1.339 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/1.499, allocations: 0.7335 MB / 1.34 GB, free: 252 kB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004613/1.5, allocations: 260.1 kB / 1.34 GB, free: 56 kB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/1.5, allocations: 21.41 kB / 1.34 GB, free: 40 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000551/1.501, allocations: 56.81 kB / 1.34 GB, free: 24 kB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/1.501, allocations: 63.55 kB / 1.34 GB, free: 12 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/1.501, allocations: 31.33 kB / 1.34 GB, free: 8 kB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007325/1.502, allocations: 452.2 kB / 1.341 GB, free: 15.81 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.21e-07/1.502, allocations: 1.25 kB / 1.341 GB, free: 15.81 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001063/1.503, allocations: 278.8 kB / 1.341 GB, free: 15.73 MB / 1.029 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.001627/1.504, allocations: 0.6039 MB / 1.342 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001193/1.505, allocations: 0.5831 MB / 1.342 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.505, allocations: 0.9688 kB / 1.342 GB, free: 15.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005445/1.506, allocations: 323.2 kB / 1.343 GB, free: 15.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/1.507, allocations: 284.9 kB / 1.343 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002936/1.51, allocations: 1.452 MB / 1.344 GB, free: 14.3 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/1.511, allocations: 0.9789 MB / 1.345 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008783/1.512, allocations: 251.3 kB / 1.346 GB, free: 13.51 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/1.512, allocations: 97.56 kB / 1.346 GB, free: 13.49 MB / 1.029 GB Notification: Performance of SimCode: time 4.91e-07/1.512, allocations: 0 / 1.346 GB, free: 13.49 MB / 1.029 GB Notification: Performance of Templates: time 0.02932/1.541, allocations: 12.86 MB / 1.358 GB, free: 8.656 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches