Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005511/0.005511, allocations: 101.7 kB / 15.73 MB, free: 6.062 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.0011/0.0011, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.632/2.632, allocations: 469.8 MB / 0.7425 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 59.91 kB / 1.065 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9172/0.9187, allocations: 159.1 MB / 1.221 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart): time 0.007054/0.9257, allocations: 4.534 MB / 1.225 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1727/1.098, allocations: 151 MB / 1.372 GB, free: 6.02 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/1.1, allocations: 15.94 kB / 1.372 GB, free: 6.004 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.000915/1.1, allocations: 178.3 kB / 1.373 GB, free: 5.828 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002287/1.103, allocations: 0.5099 MB / 1.373 GB, free: 5.32 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001864/1.105, allocations: 0.7631 MB / 1.374 GB, free: 4.562 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001509/1.106, allocations: 1.246 MB / 1.375 GB, free: 3.312 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005995/1.107, allocations: 339.8 kB / 1.375 GB, free: 2.961 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/1.107, allocations: 418.5 kB / 1.376 GB, free: 2.551 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005376/1.108, allocations: 426.1 kB / 1.376 GB, free: 2.133 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/1.108, allocations: 100 kB / 1.376 GB, free: 2.035 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007854/1.109, allocations: 403.6 kB / 1.377 GB, free: 1.641 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/1.109, allocations: 251.2 kB / 1.377 GB, free: 1.395 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004084/1.109, allocations: 481.5 kB / 1.377 GB, free: 0.9219 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001751/1.111, allocations: 1.412 MB / 1.379 GB, free: 15.51 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.111, allocations: 0 / 1.379 GB, free: 15.51 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.583e-06/1.111, allocations: 4 kB / 1.379 GB, free: 15.5 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.433e-05/1.111, allocations: 4 kB / 1.379 GB, free: 15.5 MB / 1.107 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.002223/1.113, allocations: 1.307 MB / 1.38 GB, free: 14.14 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/1.113, allocations: 12.03 kB / 1.38 GB, free: 14.12 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/1.114, allocations: 108.3 kB / 1.38 GB, free: 14.02 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/1.115, allocations: 0.7234 MB / 1.381 GB, free: 13.26 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/1.115, allocations: 50 kB / 1.381 GB, free: 13.21 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.332e-05/1.115, allocations: 64 kB / 1.381 GB, free: 13.14 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/1.116, allocations: 0.7798 MB / 1.382 GB, free: 12.31 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/1.116, allocations: 0 / 1.382 GB, free: 12.31 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.4e-05/1.116, allocations: 28 kB / 1.382 GB, free: 12.29 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/1.116, allocations: 19.94 kB / 1.382 GB, free: 12.27 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/1.117, allocations: 0.9728 MB / 1.383 GB, free: 11.29 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00329/1.121, allocations: 2.471 MB / 1.385 GB, free: 8.738 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/1.122, allocations: 0.6498 MB / 1.386 GB, free: 8.07 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003828/1.122, allocations: 231.4 kB / 1.386 GB, free: 7.836 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-05/1.122, allocations: 28.5 kB / 1.386 GB, free: 7.809 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007066/1.123, allocations: 426.3 kB / 1.386 GB, free: 7.375 MB / 1.107 GB Notification: Performance of pre-optimization done (n=70): time 1.904e-06/1.123, allocations: 0 / 1.386 GB, free: 7.375 MB / 1.107 GB Notification: Performance of matching and sorting (n=70): time 0.001597/1.125, allocations: 0.8381 MB / 1.387 GB, free: 6.531 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/1.125, allocations: 247.8 kB / 1.388 GB, free: 6.234 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007274/1.125, allocations: 0.6332 MB / 1.388 GB, free: 5.594 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/1.126, allocations: 45.69 kB / 1.388 GB, free: 5.543 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/1.126, allocations: 365 kB / 1.389 GB, free: 5.18 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/1.126, allocations: 234 kB / 1.389 GB, free: 4.949 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/1.126, allocations: 146.6 kB / 1.389 GB, free: 4.801 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001747/1.126, allocations: 386.8 kB / 1.389 GB, free: 4.414 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003979/1.127, allocations: 217.9 kB / 1.389 GB, free: 4.203 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005284/1.127, allocations: 337.4 kB / 1.39 GB, free: 3.852 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/1.128, allocations: 0.5134 MB / 1.39 GB, free: 3.32 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.128, allocations: 8 kB / 1.39 GB, free: 3.312 MB / 1.107 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001171/1.129, allocations: 0.6804 MB / 1.391 GB, free: 2.625 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/1.129, allocations: 7.984 kB / 1.391 GB, free: 2.617 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/1.129, allocations: 8 kB / 1.391 GB, free: 2.609 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/1.129, allocations: 4 kB / 1.391 GB, free: 2.605 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/1.13, allocations: 147.7 kB / 1.391 GB, free: 2.461 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/1.13, allocations: 7.938 kB / 1.391 GB, free: 2.453 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/1.131, allocations: 97.86 kB / 1.391 GB, free: 2.359 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.954e-05/1.131, allocations: 35.97 kB / 1.391 GB, free: 2.324 MB / 1.107 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.0003481/1.131, allocations: 252 kB / 1.392 GB, free: 2.07 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/1.131, allocations: 83.48 kB / 1.392 GB, free: 1.988 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/1.133, allocations: 0.8408 MB / 1.392 GB, free: 1.133 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.133, allocations: 8 kB / 1.392 GB, free: 1.125 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/1.133, allocations: 11.92 kB / 1.392 GB, free: 1.113 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/1.133, allocations: 7.984 kB / 1.392 GB, free: 1.105 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/1.134, allocations: 0.9599 MB / 1.393 GB, free: 88 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.134, allocations: 4 kB / 1.393 GB, free: 84 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/1.134, allocations: 127.8 kB / 1.394 GB, free: 15.96 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/1.134, allocations: 3.938 kB / 1.394 GB, free: 15.95 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/1.134, allocations: 19.98 kB / 1.394 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-05/1.134, allocations: 7.938 kB / 1.394 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.134, allocations: 0 / 1.394 GB, free: 15.93 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/1.135, allocations: 0.7476 MB / 1.394 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/1.136, allocations: 276.1 kB / 1.395 GB, free: 14.87 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/1.136, allocations: 12 kB / 1.395 GB, free: 14.86 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000484/1.136, allocations: 55.94 kB / 1.395 GB, free: 14.8 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/1.136, allocations: 60.58 kB / 1.395 GB, free: 14.74 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.684e-05/1.136, allocations: 31.97 kB / 1.395 GB, free: 14.71 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005332/1.137, allocations: 455 kB / 1.395 GB, free: 14.27 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.11e-07/1.137, allocations: 0 / 1.395 GB, free: 14.27 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007399/1.138, allocations: 271.4 kB / 1.395 GB, free: 14.01 MB / 1.123 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.001368/1.139, allocations: 0.6033 MB / 1.396 GB, free: 13.57 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009434/1.14, allocations: 0.5599 MB / 1.397 GB, free: 13.02 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.14, allocations: 0 / 1.397 GB, free: 13.02 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004642/1.14, allocations: 299.6 kB / 1.397 GB, free: 12.72 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009842/1.141, allocations: 291.4 kB / 1.397 GB, free: 12.46 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/1.144, allocations: 1.45 MB / 1.398 GB, free: 10.98 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/1.144, allocations: 0.9758 MB / 1.399 GB, free: 9.973 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006366/1.145, allocations: 250.2 kB / 1.4 GB, free: 9.723 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/1.145, allocations: 99.39 kB / 1.4 GB, free: 9.625 MB / 1.123 GB Notification: Performance of SimCode: time 4.51e-07/1.145, allocations: 0 / 1.4 GB, free: 9.625 MB / 1.123 GB Notification: Performance of Templates: time 0.02138/1.166, allocations: 12.91 MB / 1.412 GB, free: 12.89 MB / 1.139 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataPositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataPositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches