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.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_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.0009961/0.0009961, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 181.6 kB / 16.92 MB, free: 6.652 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.468/1.468, allocations: 223.3 MB / 241 MB, free: 5.289 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.793/2.793, allocations: 437.8 MB / 0.7128 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003992/0.0003996, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8126/0.813, allocations: 153.8 MB / 1.024 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005784/0.8189, allocations: 4.119 MB / 1.028 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.17/0.989, allocations: 146.7 MB / 1.171 GB, free: 8.477 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.9901, allocations: 15.94 kB / 1.171 GB, free: 8.461 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.9909, allocations: 134.9 kB / 1.171 GB, free: 8.328 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.002167/0.9931, allocations: 445.6 kB / 1.171 GB, free: 7.895 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.9953, allocations: 0.6581 MB / 1.172 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001873/0.9972, allocations: 1.164 MB / 1.173 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.9982, allocations: 478.6 kB / 1.174 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000682/0.9989, allocations: 298.5 kB / 1.174 GB, free: 5.297 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007121/0.9996, allocations: 334.2 kB / 1.174 GB, free: 4.969 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.9998, allocations: 24 kB / 1.174 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008985/1.001, allocations: 303.7 kB / 1.175 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/1.001, allocations: 167.2 kB / 1.175 GB, free: 4.484 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0006038/1.002, allocations: 419.2 kB / 1.175 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001423/1.003, allocations: 1.013 MB / 1.176 GB, free: 3.051 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/1.003, allocations: 0 / 1.176 GB, free: 3.051 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.274e-06/1.003, allocations: 0 / 1.176 GB, free: 3.051 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.616e-05/1.003, allocations: 0 / 1.176 GB, free: 3.051 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.002541/1.006, allocations: 1.086 MB / 1.177 GB, free: 1.918 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.006, allocations: 11.97 kB / 1.177 GB, free: 1.906 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004324/1.006, allocations: 119.7 kB / 1.177 GB, free: 1.789 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/1.007, allocations: 0.6955 MB / 1.178 GB, free: 1.051 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/1.007, allocations: 50 kB / 1.178 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/1.008, allocations: 64 kB / 1.178 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/1.009, allocations: 0.7798 MB / 1.179 GB, free: 112 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/1.009, allocations: 3.938 kB / 1.179 GB, free: 108 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.891e-05/1.009, allocations: 31.98 kB / 1.179 GB, free: 76 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/1.009, allocations: 16 kB / 1.179 GB, free: 60 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/1.011, allocations: 0.9689 MB / 1.18 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/1.015, allocations: 2.505 MB / 1.182 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001216/1.016, allocations: 0.6877 MB / 1.183 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003925/1.016, allocations: 243.3 kB / 1.183 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.028e-05/1.016, allocations: 36.5 kB / 1.183 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007224/1.017, allocations: 418.3 kB / 1.184 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=70): time 3.376e-06/1.017, allocations: 0 / 1.184 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=70): time 0.001605/1.019, allocations: 0.8389 MB / 1.185 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/1.019, allocations: 247.8 kB / 1.185 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009867/1.02, allocations: 0.6253 MB / 1.185 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-05/1.02, allocations: 45.83 kB / 1.185 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/1.02, allocations: 356.5 kB / 1.186 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002075/1.02, allocations: 228.7 kB / 1.186 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/1.021, allocations: 69.67 kB / 1.186 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001893/1.021, allocations: 378.8 kB / 1.186 GB, free: 8.227 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004285/1.021, allocations: 222 kB / 1.187 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/1.022, allocations: 341.3 kB / 1.187 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008187/1.023, allocations: 0.5172 MB / 1.187 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.023, allocations: 0 / 1.187 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001205/1.024, allocations: 0.6877 MB / 1.188 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/1.024, allocations: 10.19 kB / 1.188 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/1.024, allocations: 0 / 1.188 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/1.024, allocations: 4 kB / 1.188 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/1.024, allocations: 143.8 kB / 1.188 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/1.024, allocations: 7.938 kB / 1.188 GB, free: 6.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007425/1.025, allocations: 101.1 kB / 1.188 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.28e-05/1.025, allocations: 31.98 kB / 1.188 GB, free: 6.129 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.0004658/1.026, allocations: 259.9 kB / 1.189 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/1.026, allocations: 75.06 kB / 1.189 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/1.028, allocations: 0.8486 MB / 1.19 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/1.028, allocations: 8 kB / 1.19 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.028, allocations: 7.938 kB / 1.19 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/1.028, allocations: 7.984 kB / 1.19 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001293/1.029, allocations: 0.9636 MB / 1.19 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/1.029, allocations: 0 / 1.19 GB, free: 3.887 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/1.029, allocations: 119.9 kB / 1.191 GB, free: 3.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.334e-05/1.029, allocations: 11.88 kB / 1.191 GB, free: 3.758 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/1.029, allocations: 23.98 kB / 1.191 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/1.029, allocations: 4 kB / 1.191 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.029, allocations: 0 / 1.191 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/1.031, allocations: 0.7355 MB / 1.191 GB, free: 2.969 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003904/1.031, allocations: 275.7 kB / 1.192 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/1.031, allocations: 19.98 kB / 1.192 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/1.032, allocations: 67.95 kB / 1.192 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/1.032, allocations: 64.56 kB / 1.192 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/1.032, allocations: 27.98 kB / 1.192 GB, free: 2.504 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000611/1.033, allocations: 455 kB / 1.192 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.61e-07/1.033, allocations: 0 / 1.192 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008496/1.033, allocations: 275.4 kB / 1.193 GB, free: 1.793 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.001514/1.035, allocations: 0.5929 MB / 1.193 GB, free: 1.375 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001069/1.036, allocations: 0.5794 MB / 1.194 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/1.036, allocations: 7.938 kB / 1.194 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0004884/1.037, allocations: 319.6 kB / 1.194 GB, free: 488 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/1.038, allocations: 272.7 kB / 1.194 GB, free: 228 kB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/1.041, allocations: 1.822 MB / 1.196 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/1.042, allocations: 0.9871 MB / 1.197 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/1.042, allocations: 103.4 kB / 1.197 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of SimCode: time 8.72e-07/1.042, allocations: 0 / 1.197 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of Templates: time 0.02368/1.066, allocations: 13.35 MB / 1.21 GB, free: 15.95 MB / 0.9669 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/jenkins1/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