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.001967/0.001967, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002182/0.002182, allocations: 195.1 kB / 16.14 MB, free: 6.633 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.553/1.553, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.851/2.851, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 63.91 kB / 0.8686 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7199, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.007573/0.7275, allocations: 4.535 MB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1936/0.9212, allocations: 148.2 MB / 1.166 GB, free: 9.438 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.9223, allocations: 23.81 kB / 1.166 GB, free: 9.414 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0006451/0.923, allocations: 139 kB / 1.166 GB, free: 9.277 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.9248, allocations: 445.8 kB / 1.166 GB, free: 8.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.9266, allocations: 0.6518 MB / 1.167 GB, free: 8.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.928, allocations: 1.16 MB / 1.168 GB, free: 7.035 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008408/0.9289, allocations: 490.6 kB / 1.169 GB, free: 6.535 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.9294, allocations: 354.5 kB / 1.169 GB, free: 6.188 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005948/0.93, allocations: 394.1 kB / 1.169 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001028/0.9301, allocations: 40 kB / 1.169 GB, free: 5.762 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007425/0.9309, allocations: 315.7 kB / 1.17 GB, free: 5.453 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002454/0.9312, allocations: 207.2 kB / 1.17 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004656/0.9316, allocations: 429.5 kB / 1.17 GB, free: 4.828 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.9331, allocations: 1.324 MB / 1.172 GB, free: 3.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.9331, allocations: 4 kB / 1.172 GB, free: 3.496 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.042e-06/0.9331, allocations: 0 / 1.172 GB, free: 3.496 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.9332, allocations: 4 kB / 1.172 GB, free: 3.492 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.002507/0.9357, allocations: 1.277 MB / 1.173 GB, free: 2.168 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.9357, allocations: 12.03 kB / 1.173 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/0.936, allocations: 103.7 kB / 1.173 GB, free: 2.055 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.9371, allocations: 0.6916 MB / 1.174 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/0.9372, allocations: 50 kB / 1.174 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-05/0.9373, allocations: 71.94 kB / 1.174 GB, free: 1.203 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.9386, allocations: 0.7721 MB / 1.174 GB, free: 388 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.9387, allocations: 4 kB / 1.174 GB, free: 384 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-05/0.9387, allocations: 32 kB / 1.175 GB, free: 352 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.9388, allocations: 20 kB / 1.175 GB, free: 332 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.9404, allocations: 0.9728 MB / 1.175 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.9442, allocations: 2.478 MB / 1.178 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.9455, allocations: 0.685 MB / 1.179 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/0.946, allocations: 255.3 kB / 1.179 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.636e-05/0.946, allocations: 28.52 kB / 1.179 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000864/0.9469, allocations: 426.2 kB / 1.179 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 3.136e-06/0.9469, allocations: 0 / 1.179 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001744/0.9487, allocations: 0.83 MB / 1.18 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001733/0.9489, allocations: 251.9 kB / 1.18 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009142/0.9498, allocations: 0.6293 MB / 1.181 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.338e-05/0.9499, allocations: 37.7 kB / 1.181 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003517/0.9502, allocations: 360.4 kB / 1.181 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.9504, allocations: 228.7 kB / 1.182 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002503/0.9507, allocations: 150.5 kB / 1.182 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002183/0.9509, allocations: 382.8 kB / 1.182 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.9513, allocations: 229.8 kB / 1.182 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/0.9519, allocations: 329.4 kB / 1.183 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009112/0.9528, allocations: 0.5212 MB / 1.183 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.9528, allocations: 0 / 1.183 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001287/0.9541, allocations: 0.6799 MB / 1.184 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.9542, allocations: 9.562 kB / 1.184 GB, free: 6.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.9542, allocations: 3.938 kB / 1.184 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.9542, allocations: 4 kB / 1.184 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005987/0.9548, allocations: 152 kB / 1.184 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.9548, allocations: 7.938 kB / 1.184 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006641/0.9555, allocations: 83.39 kB / 1.184 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.275e-05/0.9556, allocations: 31.97 kB / 1.184 GB, free: 6.336 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.0004422/0.956, allocations: 251.4 kB / 1.184 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.9562, allocations: 90.94 kB / 1.184 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.958, allocations: 0.8485 MB / 1.185 GB, free: 5.133 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.958, allocations: 8 kB / 1.185 GB, free: 5.125 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.958, allocations: 7.938 kB / 1.185 GB, free: 5.117 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.958, allocations: 7.984 kB / 1.185 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.9593, allocations: 0.9597 MB / 1.186 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.9594, allocations: 0 / 1.186 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004527/0.9598, allocations: 123.8 kB / 1.186 GB, free: 3.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/0.9598, allocations: 7.938 kB / 1.186 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.9599, allocations: 23.98 kB / 1.186 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.9599, allocations: 4 kB / 1.186 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.9599, allocations: 0 / 1.186 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.9612, allocations: 0.7432 MB / 1.187 GB, free: 3.164 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003849/0.9616, allocations: 255.8 kB / 1.187 GB, free: 2.895 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.9617, allocations: 20 kB / 1.187 GB, free: 2.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.9622, allocations: 59.94 kB / 1.187 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.9624, allocations: 64.56 kB / 1.187 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.491e-05/0.9624, allocations: 27.98 kB / 1.187 GB, free: 2.727 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0006262/0.9631, allocations: 455 kB / 1.188 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9631, allocations: 0 / 1.188 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008648/0.9639, allocations: 267.5 kB / 1.188 GB, free: 2.023 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 (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.002047/0.966, allocations: 0.6007 MB / 1.189 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001164/0.9672, allocations: 0.5833 MB / 1.189 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.9672, allocations: 4 kB / 1.189 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.9677, allocations: 323.6 kB / 1.19 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.9689, allocations: 256 kB / 1.19 GB, free: 468 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.9719, allocations: 1.782 MB / 1.192 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/0.9727, allocations: 0.9682 MB / 1.193 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009081/0.9736, allocations: 246.2 kB / 1.193 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.9739, allocations: 103.4 kB / 1.193 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of SimCode: time 1.082e-06/0.9739, allocations: 0 / 1.193 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of Templates: time 0.02708/1.001, allocations: 12.22 MB / 1.205 GB, free: 1.234 MB / 0.9512 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=400 -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