Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.007396/0.007396, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001565/0.001565, allocations: 191.7 kB / 16.67 MB, free: 5.973 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.511/2.511, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 61.64 kB / 0.9508 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3267, allocations: 140.4 MB / 1.088 GB, free: 1.508 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005994/0.3327, allocations: 4.26 MB / 1.092 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1665/0.4993, allocations: 150.5 MB / 1.239 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009832/0.5003, allocations: 15.94 kB / 1.239 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000627/0.5009, allocations: 166.5 kB / 1.239 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.5026, allocations: 0.5021 MB / 1.24 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.5044, allocations: 0.7483 MB / 1.24 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.5057, allocations: 1.207 MB / 1.242 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007245/0.5064, allocations: 0.5062 MB / 1.242 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000501/0.5069, allocations: 418.5 kB / 1.243 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004693/0.5074, allocations: 418.1 kB / 1.243 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001181/0.5075, allocations: 100 kB / 1.243 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009036/0.5085, allocations: 399.7 kB / 1.243 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002508/0.5087, allocations: 255.1 kB / 1.244 GB, free: 1.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004186/0.5091, allocations: 489.4 kB / 1.244 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.5107, allocations: 1.39 MB / 1.245 GB, free: 15.52 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.5107, allocations: 0 / 1.245 GB, free: 15.52 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5107, allocations: 0 / 1.245 GB, free: 15.52 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.5108, allocations: 0 / 1.245 GB, free: 15.52 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.002145/0.5129, allocations: 1.269 MB / 1.247 GB, free: 14.2 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.513, allocations: 8.031 kB / 1.247 GB, free: 14.19 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002921/0.5133, allocations: 107.7 kB / 1.247 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.5143, allocations: 0.7189 MB / 1.248 GB, free: 13.32 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/0.5144, allocations: 54 kB / 1.248 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.904e-05/0.5145, allocations: 64 kB / 1.248 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.5157, allocations: 0.7798 MB / 1.248 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.5157, allocations: 0 / 1.248 GB, free: 12.38 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.5158, allocations: 28 kB / 1.248 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.5158, allocations: 16 kB / 1.248 GB, free: 12.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.5172, allocations: 0.9728 MB / 1.249 GB, free: 11.36 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003249/0.5204, allocations: 2.451 MB / 1.252 GB, free: 8.824 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/0.5216, allocations: 0.6877 MB / 1.252 GB, free: 8.121 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/0.5219, allocations: 243.3 kB / 1.253 GB, free: 7.875 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.293e-05/0.522, allocations: 36.5 kB / 1.253 GB, free: 7.84 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006541/0.5227, allocations: 423.5 kB / 1.253 GB, free: 7.41 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.455e-06/0.5227, allocations: 0 / 1.253 GB, free: 7.41 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.001604/0.5243, allocations: 0.8376 MB / 1.254 GB, free: 6.566 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.5245, allocations: 247.8 kB / 1.254 GB, free: 6.266 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000838/0.5253, allocations: 0.6176 MB / 1.255 GB, free: 5.637 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.914e-05/0.5254, allocations: 41.7 kB / 1.255 GB, free: 5.59 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.5257, allocations: 360.4 kB / 1.255 GB, free: 5.234 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.5259, allocations: 225 kB / 1.255 GB, free: 5.012 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/0.5262, allocations: 158.4 kB / 1.256 GB, free: 4.852 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.5264, allocations: 386.8 kB / 1.256 GB, free: 4.465 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/0.5268, allocations: 217.9 kB / 1.256 GB, free: 4.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005022/0.5273, allocations: 329.4 kB / 1.256 GB, free: 3.902 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000839/0.5282, allocations: 0.5251 MB / 1.257 GB, free: 3.363 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.5282, allocations: 64 / 1.257 GB, free: 3.363 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001116/0.5293, allocations: 0.6877 MB / 1.258 GB, free: 2.668 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5293, allocations: 9.656 kB / 1.258 GB, free: 2.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5293, allocations: 4 kB / 1.258 GB, free: 2.656 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.5294, allocations: 7.984 kB / 1.258 GB, free: 2.648 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/0.5299, allocations: 147.8 kB / 1.258 GB, free: 2.504 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.5299, allocations: 7.938 kB / 1.258 GB, free: 2.496 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/0.5305, allocations: 83.33 kB / 1.258 GB, free: 2.414 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.035e-05/0.5306, allocations: 44.12 kB / 1.258 GB, free: 2.371 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.0003463/0.5309, allocations: 251.4 kB / 1.258 GB, free: 2.117 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.5311, allocations: 79.06 kB / 1.258 GB, free: 2.039 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.5327, allocations: 0.8484 MB / 1.259 GB, free: 1.18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.5327, allocations: 8 kB / 1.259 GB, free: 1.172 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.5327, allocations: 3.938 kB / 1.259 GB, free: 1.168 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.5327, allocations: 3.984 kB / 1.259 GB, free: 1.164 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/0.5339, allocations: 0.9714 MB / 1.26 GB, free: 132 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.5339, allocations: 4 kB / 1.26 GB, free: 128 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.5343, allocations: 123.8 kB / 1.26 GB, free: 4 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/0.5343, allocations: 3.938 kB / 1.26 GB, free: 0 / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.7024/1.237, allocations: 19.64 kB / 1.26 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.386e-05/1.237, allocations: 3.266 kB / 1.26 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/1.237, allocations: 0.875 kB / 1.26 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/1.238, allocations: 0.733 MB / 1.261 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005629/1.239, allocations: 260.7 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/1.239, allocations: 16.31 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000841/1.24, allocations: 59.84 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002091/1.24, allocations: 57.73 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/1.24, allocations: 32.64 kB / 1.261 GB, free: 174 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001054/1.242, allocations: 455.2 kB / 1.262 GB, free: 173.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.7e-07/1.242, allocations: 0 / 1.262 GB, free: 173.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00129/1.243, allocations: 263.1 kB / 1.262 GB, free: 173.9 MB / 1.014 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.002269/1.245, allocations: 0.6038 MB / 1.263 GB, free: 173.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00212/1.247, allocations: 0.588 MB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/1.247, allocations: 1.812 kB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001005/1.248, allocations: 321.8 kB / 1.263 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/1.25, allocations: 266.9 kB / 1.264 GB, free: 173.7 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00408/1.254, allocations: 1.409 MB / 1.265 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008686/1.255, allocations: 0.9869 MB / 1.266 GB, free: 172.3 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001447/1.257, allocations: 239.4 kB / 1.266 GB, free: 172.3 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003938/1.257, allocations: 100 kB / 1.266 GB, free: 172.3 MB / 1.014 GB Notification: Performance of SimCode: time 1.002e-06/1.257, allocations: 1.5 kB / 1.266 GB, free: 172.3 MB / 1.014 GB Notification: Performance of Templates: time 0.04318/1.3, allocations: 12.53 MB / 1.279 GB, free: 171.2 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches