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.0007986/0.0007984, allocations: 92.78 kB / 15.36 MB, free: 0.7383 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.005338/0.005338, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.424/1.424, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.683/2.683, allocations: 437.8 MB / 0.7121 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005412/0.0005413, allocations: 8 kB / 0.8728 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7304/0.731, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.006476/0.7375, allocations: 4.119 MB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.9156, allocations: 146.6 MB / 1.17 GB, free: 8.512 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001295/0.917, allocations: 15.88 kB / 1.17 GB, free: 8.496 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009176/0.9179, allocations: 139 kB / 1.17 GB, free: 8.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.92, allocations: 433.5 kB / 1.171 GB, free: 7.938 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.9219, allocations: 0.6585 MB / 1.171 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001499/0.9234, allocations: 1.16 MB / 1.173 GB, free: 6.121 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009011/0.9243, allocations: 482.6 kB / 1.173 GB, free: 5.629 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005526/0.9248, allocations: 298.5 kB / 1.173 GB, free: 5.336 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005963/0.9255, allocations: 340.6 kB / 1.174 GB, free: 5.004 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.9256, allocations: 24 kB / 1.174 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007377/0.9264, allocations: 299.7 kB / 1.174 GB, free: 4.688 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.9266, allocations: 163.2 kB / 1.174 GB, free: 4.527 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004436/0.927, allocations: 423.2 kB / 1.175 GB, free: 4.105 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.9285, allocations: 1.281 MB / 1.176 GB, free: 2.82 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.9285, allocations: 0 / 1.176 GB, free: 2.82 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9285, allocations: 0 / 1.176 GB, free: 2.82 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.729e-05/0.9286, allocations: 0 / 1.176 GB, free: 2.82 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.002261/0.9308, allocations: 1.09 MB / 1.177 GB, free: 1.684 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.9309, allocations: 15.97 kB / 1.177 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003701/0.9313, allocations: 107.7 kB / 1.177 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.9323, allocations: 0.6994 MB / 1.178 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.9324, allocations: 50 kB / 1.178 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-05/0.9325, allocations: 64 kB / 1.178 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.9337, allocations: 0.7799 MB / 1.179 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.9337, allocations: 0 / 1.179 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.201e-05/0.9338, allocations: 28 kB / 1.179 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.9338, allocations: 19.98 kB / 1.179 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.9351, allocations: 0.9728 MB / 1.179 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003329/0.9384, allocations: 2.517 MB / 1.182 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.9395, allocations: 0.6877 MB / 1.183 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/0.9399, allocations: 251.3 kB / 1.183 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.264e-05/0.94, allocations: 32.52 kB / 1.183 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000647/0.9406, allocations: 418.3 kB / 1.183 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 4.238e-06/0.9407, allocations: 3.984 kB / 1.183 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001395/0.9421, allocations: 0.835 MB / 1.184 GB, free: 10 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001117/0.9422, allocations: 247.8 kB / 1.184 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000717/0.9429, allocations: 0.6293 MB / 1.185 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.756e-05/0.943, allocations: 49.7 kB / 1.185 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.9433, allocations: 352.5 kB / 1.185 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.9435, allocations: 228.7 kB / 1.186 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/0.9436, allocations: 65.69 kB / 1.186 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.9437, allocations: 382.8 kB / 1.186 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/0.9441, allocations: 221.9 kB / 1.186 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.9446, allocations: 333.4 kB / 1.187 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000767/0.9453, allocations: 0.5134 MB / 1.187 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9453, allocations: 4 kB / 1.187 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001039/0.9464, allocations: 0.6837 MB / 1.188 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.9464, allocations: 8 kB / 1.188 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9464, allocations: 0 / 1.188 GB, free: 6.18 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.9465, allocations: 4 kB / 1.188 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.947, allocations: 151.7 kB / 1.188 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.947, allocations: 7.938 kB / 1.188 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.9476, allocations: 98.83 kB / 1.188 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.857e-05/0.9477, allocations: 31.98 kB / 1.188 GB, free: 5.895 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.0003326/0.948, allocations: 255.4 kB / 1.188 GB, free: 5.637 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.9481, allocations: 75.06 kB / 1.188 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.9496, allocations: 0.8485 MB / 1.189 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.9497, allocations: 8 kB / 1.189 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.709e-06/0.9497, allocations: 11.94 kB / 1.189 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.9497, allocations: 11.86 kB / 1.189 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.9508, allocations: 0.9675 MB / 1.19 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.9508, allocations: 0 / 1.19 GB, free: 3.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004159/0.9512, allocations: 119.8 kB / 1.19 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.181e-05/0.9512, allocations: 11.92 kB / 1.19 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.9513, allocations: 19.98 kB / 1.19 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.9513, allocations: 4 kB / 1.19 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.9513, allocations: 0 / 1.19 GB, free: 3.492 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.9524, allocations: 0.7355 MB / 1.191 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/0.9528, allocations: 279.7 kB / 1.191 GB, free: 2.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.9529, allocations: 16 kB / 1.191 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005385/0.9534, allocations: 71.94 kB / 1.191 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.9536, allocations: 68.55 kB / 1.191 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.922e-05/0.9536, allocations: 27.98 kB / 1.191 GB, free: 2.258 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0005576/0.9542, allocations: 455 kB / 1.192 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9542, allocations: 0 / 1.192 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000741/0.955, allocations: 267.5 kB / 1.192 GB, free: 1.555 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.001476/0.9565, allocations: 0.5965 MB / 1.193 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.9575, allocations: 0.5794 MB / 1.193 GB, free: 0.5508 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.9575, allocations: 4 kB / 1.193 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.958, allocations: 323.6 kB / 1.194 GB, free: 236 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.9592, allocations: 247.2 kB / 1.194 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.9618, allocations: 1.797 MB / 1.196 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005541/0.9623, allocations: 0.9799 MB / 1.197 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0007422/0.9631, allocations: 262.1 kB / 1.197 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002353/0.9633, allocations: 99.39 kB / 1.197 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of SimCode: time 3.91e-07/0.9633, allocations: 0 / 1.197 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of Templates: time 0.02322/0.9866, allocations: 12.12 MB / 1.209 GB, free: 0.8281 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=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