Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.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_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001861/0.001861, allocations: 112.1 kB / 16.41 MB, free: 6.016 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.00209/0.002091, allocations: 190 kB / 17.34 MB, free: 5.629 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.565/1.565, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.747/2.747, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 67.84 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9726/0.9746, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.00754/0.9822, allocations: 4.543 MB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1929/1.175, allocations: 150.6 MB / 1.319 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000906/1.176, allocations: 19.88 kB / 1.319 GB, free: 8.117 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0006234/1.177, allocations: 178.4 kB / 1.319 GB, free: 7.941 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001803/1.179, allocations: 0.5014 MB / 1.319 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00184/1.18, allocations: 0.7597 MB / 1.32 GB, free: 6.688 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00149/1.182, allocations: 1.257 MB / 1.321 GB, free: 5.426 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007892/1.183, allocations: 0.4917 MB / 1.322 GB, free: 4.914 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006503/1.183, allocations: 422.5 kB / 1.322 GB, free: 4.5 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005852/1.184, allocations: 426.1 kB / 1.323 GB, free: 4.082 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/1.184, allocations: 96 kB / 1.323 GB, free: 3.988 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007901/1.185, allocations: 399.6 kB / 1.323 GB, free: 3.598 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002714/1.185, allocations: 263.2 kB / 1.323 GB, free: 3.34 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004655/1.186, allocations: 485.4 kB / 1.324 GB, free: 2.863 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/1.188, allocations: 1.412 MB / 1.325 GB, free: 1.449 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.188, allocations: 0 / 1.325 GB, free: 1.449 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/1.188, allocations: 0 / 1.325 GB, free: 1.449 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.517e-05/1.188, allocations: 0 / 1.325 GB, free: 1.449 MB / 1.045 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.002579/1.19, allocations: 1.311 MB / 1.327 GB, free: 84 kB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.19, allocations: 8.922 kB / 1.327 GB, free: 76 kB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003797/1.191, allocations: 118 kB / 1.327 GB, free: 15.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/1.192, allocations: 0.7179 MB / 1.327 GB, free: 15.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.383e-05/1.192, allocations: 57.98 kB / 1.327 GB, free: 15.14 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/1.192, allocations: 60 kB / 1.327 GB, free: 15.09 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/1.194, allocations: 0.7721 MB / 1.328 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/1.194, allocations: 3.938 kB / 1.328 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.378e-05/1.194, allocations: 35.94 kB / 1.328 GB, free: 14.22 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.854e-05/1.194, allocations: 20 kB / 1.328 GB, free: 14.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001531/1.195, allocations: 0.9689 MB / 1.329 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003899/1.199, allocations: 2.457 MB / 1.332 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/1.2, allocations: 0.6838 MB / 1.332 GB, free: 10 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/1.201, allocations: 255.4 kB / 1.333 GB, free: 9.742 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.876e-05/1.201, allocations: 32.34 kB / 1.333 GB, free: 9.711 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007264/1.202, allocations: 426.2 kB / 1.333 GB, free: 9.277 MB / 1.061 GB Notification: Performance of pre-optimization done (n=70): time 2.645e-06/1.202, allocations: 0 / 1.333 GB, free: 9.277 MB / 1.061 GB Notification: Performance of matching and sorting (n=70): time 0.0017/1.203, allocations: 0.842 MB / 1.334 GB, free: 8.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/1.204, allocations: 243.9 kB / 1.334 GB, free: 8.133 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/1.204, allocations: 0.6292 MB / 1.335 GB, free: 7.496 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.538e-05/1.204, allocations: 37.7 kB / 1.335 GB, free: 7.453 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/1.205, allocations: 368.9 kB / 1.335 GB, free: 7.086 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002083/1.205, allocations: 234.1 kB / 1.335 GB, free: 6.855 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/1.205, allocations: 154.6 kB / 1.335 GB, free: 6.695 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002291/1.206, allocations: 378.9 kB / 1.336 GB, free: 6.316 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/1.206, allocations: 225.9 kB / 1.336 GB, free: 6.098 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005289/1.206, allocations: 333.4 kB / 1.336 GB, free: 5.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009014/1.207, allocations: 0.5211 MB / 1.337 GB, free: 5.215 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.207, allocations: 0 / 1.337 GB, free: 5.215 MB / 1.061 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001249/1.209, allocations: 0.6958 MB / 1.337 GB, free: 4.512 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.209, allocations: 4 kB / 1.337 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.209, allocations: 4.156 kB / 1.338 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/1.209, allocations: 8 kB / 1.338 GB, free: 4.496 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/1.209, allocations: 139.8 kB / 1.338 GB, free: 4.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/1.209, allocations: 4 kB / 1.338 GB, free: 4.355 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006111/1.21, allocations: 91.5 kB / 1.338 GB, free: 4.266 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.345e-05/1.21, allocations: 27.98 kB / 1.338 GB, free: 4.238 MB / 1.061 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.0004153/1.21, allocations: 267.4 kB / 1.338 GB, free: 3.969 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/1.211, allocations: 87.42 kB / 1.338 GB, free: 3.883 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/1.212, allocations: 0.8447 MB / 1.339 GB, free: 3.023 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.212, allocations: 8 kB / 1.339 GB, free: 3.016 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/1.212, allocations: 4 kB / 1.339 GB, free: 3.012 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.212, allocations: 3.984 kB / 1.339 GB, free: 3.008 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/1.214, allocations: 0.9637 MB / 1.34 GB, free: 1.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/1.214, allocations: 0 / 1.34 GB, free: 1.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004373/1.214, allocations: 123.9 kB / 1.34 GB, free: 1.859 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/1.214, allocations: 8.031 kB / 1.34 GB, free: 1.852 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/1.214, allocations: 23.92 kB / 1.34 GB, free: 1.828 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.517e-05/1.214, allocations: 4 kB / 1.34 GB, free: 1.824 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.214, allocations: 7.922 kB / 1.34 GB, free: 1.816 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/1.215, allocations: 0.7397 MB / 1.341 GB, free: 1.059 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003503/1.216, allocations: 260.3 kB / 1.341 GB, free: 0.7852 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/1.216, allocations: 16 kB / 1.341 GB, free: 0.7695 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004974/1.216, allocations: 66.34 kB / 1.341 GB, free: 0.707 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/1.217, allocations: 60.56 kB / 1.341 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-05/1.217, allocations: 31.98 kB / 1.341 GB, free: 0.6172 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005985/1.217, allocations: 459 kB / 1.342 GB, free: 180 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/1.217, allocations: 0 / 1.342 GB, free: 180 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008058/1.218, allocations: 275.3 kB / 1.342 GB, free: 15.9 MB / 1.076 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.001991/1.22, allocations: 0.6061 MB / 1.342 GB, free: 15.46 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001181/1.221, allocations: 0.5872 MB / 1.343 GB, free: 14.87 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.221, allocations: 4 kB / 1.343 GB, free: 14.87 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000777/1.222, allocations: 327.5 kB / 1.343 GB, free: 14.55 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/1.223, allocations: 276.2 kB / 1.344 GB, free: 14.3 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/1.226, allocations: 1.444 MB / 1.345 GB, free: 12.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/1.227, allocations: 0.9719 MB / 1.346 GB, free: 11.82 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0007883/1.227, allocations: 258.2 kB / 1.346 GB, free: 11.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/1.228, allocations: 103.3 kB / 1.346 GB, free: 11.46 MB / 1.076 GB Notification: Performance of SimCode: time 6.61e-07/1.228, allocations: 0 / 1.346 GB, free: 11.46 MB / 1.076 GB Notification: Performance of Templates: time 0.02554/1.253, allocations: 12.89 MB / 1.359 GB, free: 14.71 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches