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.001229/0.001229, allocations: 111.1 kB / 16.41 MB, free: 6.488 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.001109/0.001109, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.23/2.23, allocations: 390.3 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 59.89 kB / 0.9515 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9116/0.9131, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.005678/0.9189, allocations: 4.266 MB / 1.093 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1884/1.107, allocations: 150.5 MB / 1.24 GB, free: 1.082 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001301/1.109, allocations: 18.84 kB / 1.24 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009417/1.11, allocations: 177 kB / 1.24 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002627/1.112, allocations: 491.2 kB / 1.24 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002647/1.115, allocations: 0.7618 MB / 1.241 GB, free: 0 / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002019/1.117, allocations: 1.206 MB / 1.242 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/1.118, allocations: 0.4984 MB / 1.243 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009121/1.119, allocations: 411.8 kB / 1.243 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007932/1.12, allocations: 420.5 kB / 1.244 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/1.12, allocations: 105.9 kB / 1.244 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/1.121, allocations: 408 kB / 1.244 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002741/1.121, allocations: 252.3 kB / 1.244 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000493/1.122, allocations: 479 kB / 1.245 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001937/1.124, allocations: 1.395 MB / 1.246 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.124, allocations: 4 kB / 1.246 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.999e-06/1.124, allocations: 0 / 1.246 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.591e-05/1.124, allocations: 7.938 kB / 1.246 GB, free: 12.4 MB / 0.9825 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.002228/1.126, allocations: 1.265 MB / 1.247 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/1.126, allocations: 8.031 kB / 1.247 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/1.126, allocations: 103.7 kB / 1.247 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/1.128, allocations: 0.715 MB / 1.248 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/1.128, allocations: 50 kB / 1.248 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.88e-05/1.128, allocations: 71.98 kB / 1.248 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/1.129, allocations: 0.772 MB / 1.249 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/1.129, allocations: 0 / 1.249 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-05/1.129, allocations: 32 kB / 1.249 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/1.129, allocations: 16 kB / 1.249 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/1.13, allocations: 0.9805 MB / 1.25 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003524/1.134, allocations: 2.451 MB / 1.252 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/1.135, allocations: 0.6837 MB / 1.253 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003702/1.136, allocations: 251.3 kB / 1.253 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.992e-05/1.136, allocations: 32.53 kB / 1.253 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006622/1.136, allocations: 419.6 kB / 1.254 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 2.946e-06/1.136, allocations: 0 / 1.254 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001526/1.138, allocations: 0.8415 MB / 1.255 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/1.138, allocations: 247.8 kB / 1.255 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000798/1.139, allocations: 0.6333 MB / 1.255 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/1.139, allocations: 37.7 kB / 1.256 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003111/1.139, allocations: 360.4 kB / 1.256 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/1.139, allocations: 220.8 kB / 1.256 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002176/1.14, allocations: 154.4 kB / 1.256 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.14, allocations: 382.8 kB / 1.257 GB, free: 1.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003677/1.14, allocations: 221.9 kB / 1.257 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004866/1.141, allocations: 337.4 kB / 1.257 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008031/1.141, allocations: 0.5173 MB / 1.258 GB, free: 244 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/1.141, allocations: 0 / 1.258 GB, free: 244 kB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001192/1.143, allocations: 0.68 MB / 1.258 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/1.143, allocations: 4 kB / 1.258 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.143, allocations: 4 kB / 1.258 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/1.143, allocations: 8.047 kB / 1.258 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005743/1.143, allocations: 151.7 kB / 1.258 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.783e-05/1.143, allocations: 11.94 kB / 1.258 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000621/1.144, allocations: 87.53 kB / 1.259 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.903e-05/1.144, allocations: 35.97 kB / 1.259 GB, free: 15.25 MB / 0.9981 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.0004347/1.144, allocations: 259.4 kB / 1.259 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/1.145, allocations: 79.06 kB / 1.259 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/1.146, allocations: 0.8484 MB / 1.26 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/1.146, allocations: 8 kB / 1.26 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/1.146, allocations: 7.938 kB / 1.26 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.146, allocations: 3.984 kB / 1.26 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/1.147, allocations: 0.952 MB / 1.261 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.147, allocations: 4 kB / 1.261 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004283/1.148, allocations: 123.8 kB / 1.261 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/1.148, allocations: 3.938 kB / 1.261 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/1.148, allocations: 23.98 kB / 1.261 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.148, allocations: 4 kB / 1.261 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/1.148, allocations: 0 / 1.261 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/1.149, allocations: 0.7432 MB / 1.262 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003074/1.149, allocations: 259.8 kB / 1.262 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/1.149, allocations: 16 kB / 1.262 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/1.15, allocations: 62.59 kB / 1.262 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/1.15, allocations: 60.56 kB / 1.262 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-05/1.15, allocations: 27.98 kB / 1.262 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005577/1.151, allocations: 455 kB / 1.262 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.151, allocations: 0 / 1.262 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007446/1.152, allocations: 263.5 kB / 1.263 GB, free: 10.96 MB / 0.9981 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.00138/1.153, allocations: 0.6139 MB / 1.263 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.154, allocations: 0.5872 MB / 1.264 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/1.154, allocations: 0 / 1.264 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004758/1.154, allocations: 323.6 kB / 1.264 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.156, allocations: 260.7 kB / 1.264 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/1.158, allocations: 1.454 MB / 1.266 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005735/1.159, allocations: 0.9811 MB / 1.267 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/1.159, allocations: 103.4 kB / 1.267 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of SimCode: time 1.032e-06/1.159, allocations: 0 / 1.267 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of Templates: time 0.02129/1.18, allocations: 13.48 MB / 1.28 GB, free: 9.344 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/jenkins1/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