Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.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_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|weaDat.weaBus.TDryBul",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 107.5 kB / 16.27 MB, free: 6.004 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.002036/0.002036, allocations: 187.3 kB / 17.2 MB, free: 5.613 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.378/1.378, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.299/2.299, allocations: 390.2 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.69 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.263, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.006333/0.2694, allocations: 4.27 MB / 0.9544 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6677/0.9371, allocations: 150.5 MB / 1.101 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009059/0.9381, allocations: 22.31 kB / 1.101 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005633/0.9386, allocations: 165.2 kB / 1.102 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.9405, allocations: 488.7 kB / 1.102 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001904/0.9424, allocations: 0.7458 MB / 1.103 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.9441, allocations: 1.197 MB / 1.104 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000894/0.945, allocations: 0.5119 MB / 1.104 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007748/0.9458, allocations: 401.3 kB / 1.105 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006375/0.9464, allocations: 420.8 kB / 1.105 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001691/0.9466, allocations: 97.81 kB / 1.105 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009102/0.9475, allocations: 378.7 kB / 1.106 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002939/0.9478, allocations: 259.1 kB / 1.106 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005474/0.9484, allocations: 476.9 kB / 1.106 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.9507, allocations: 1.358 MB / 1.108 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9507, allocations: 0 / 1.108 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9507, allocations: 0.9688 kB / 1.108 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.9507, allocations: 0 / 1.108 GB, free: 4.215 MB / 0.8575 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.002809/0.9535, allocations: 1.27 MB / 1.109 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.9536, allocations: 9.344 kB / 1.109 GB, free: 19.5 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00036/0.954, allocations: 108.2 kB / 1.109 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.9551, allocations: 0.6929 MB / 1.11 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.267e-05/0.9551, allocations: 51.31 kB / 1.11 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.9553, allocations: 64.47 kB / 1.11 GB, free: 19.15 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.9567, allocations: 0.7786 MB / 1.111 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.9567, allocations: 1.406 kB / 1.111 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.376e-05/0.9568, allocations: 32.88 kB / 1.111 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.9568, allocations: 16.56 kB / 1.111 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.9583, allocations: 0.9721 MB / 1.112 GB, free: 18.96 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.9621, allocations: 2.482 MB / 1.114 GB, free: 17.89 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.9633, allocations: 0.6842 MB / 1.115 GB, free: 17.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.9636, allocations: 253.9 kB / 1.115 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.98e-05/0.9637, allocations: 30.2 kB / 1.115 GB, free: 17.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007266/0.9644, allocations: 424.6 kB / 1.115 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=70): time 2.785e-06/0.9645, allocations: 0 / 1.115 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of matching and sorting (n=70): time 0.001673/0.9661, allocations: 0.8345 MB / 1.116 GB, free: 17.63 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.9663, allocations: 244.6 kB / 1.116 GB, free: 17.35 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000897/0.9672, allocations: 0.6354 MB / 1.117 GB, free: 17.21 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.778e-05/0.9673, allocations: 42.94 kB / 1.117 GB, free: 17.18 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.9676, allocations: 352.9 kB / 1.117 GB, free: 17.03 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.9678, allocations: 232.3 kB / 1.118 GB, free: 16.89 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.968, allocations: 156.3 kB / 1.118 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.9682, allocations: 384.7 kB / 1.118 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.9685, allocations: 221.1 kB / 1.118 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004707/0.969, allocations: 331.8 kB / 1.119 GB, free: 16.47 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007606/0.9698, allocations: 0.5213 MB / 1.119 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9698, allocations: 1.156 kB / 1.119 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001137/0.9709, allocations: 0.6838 MB / 1.12 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.971, allocations: 9.969 kB / 1.12 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.547e-06/0.971, allocations: 2.703 kB / 1.12 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.971, allocations: 4.156 kB / 1.12 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005372/0.9715, allocations: 144.2 kB / 1.12 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.9716, allocations: 6.641 kB / 1.12 GB, free: 16.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.9722, allocations: 86.72 kB / 1.12 GB, free: 16.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/0.9723, allocations: 35.12 kB / 1.12 GB, free: 16.29 MB / 0.8731 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.000464/0.9728, allocations: 258.1 kB / 1.12 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.9729, allocations: 77.25 kB / 1.12 GB, free: 16.13 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.9745, allocations: 0.8523 MB / 1.121 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.018e-05/0.9745, allocations: 8.312 kB / 1.121 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.9746, allocations: 5.203 kB / 1.121 GB, free: 16.03 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.115e-05/0.9746, allocations: 8.328 kB / 1.121 GB, free: 16.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.9759, allocations: 0.9615 MB / 1.122 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.9759, allocations: 1.984 kB / 1.122 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/0.9763, allocations: 124.3 kB / 1.122 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.857e-06/0.9763, allocations: 8.094 kB / 1.122 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/0.9764, allocations: 27.92 kB / 1.122 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.9764, allocations: 4.938 kB / 1.122 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.9764, allocations: 1.312 kB / 1.122 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.9775, allocations: 0.7293 MB / 1.123 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003265/0.9779, allocations: 259.1 kB / 1.123 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.978, allocations: 19.25 kB / 1.123 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004877/0.9785, allocations: 60.94 kB / 1.123 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.9786, allocations: 58.3 kB / 1.124 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/0.9787, allocations: 29.81 kB / 1.124 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005348/0.9792, allocations: 456.8 kB / 1.124 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9792, allocations: 5.125 kB / 1.124 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008378/0.9801, allocations: 267.2 kB / 1.124 GB, free: 15.27 MB / 0.8731 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.001291/0.9814, allocations: 0.6019 MB / 1.125 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.9829, allocations: 0.7619 MB / 1.126 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9829, allocations: 0 / 1.126 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004424/0.9834, allocations: 322.1 kB / 1.126 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.9847, allocations: 267 kB / 1.126 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002401/0.9871, allocations: 1.472 MB / 1.128 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005666/0.9876, allocations: 0.9729 MB / 1.129 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/0.9879, allocations: 114.4 kB / 1.129 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of SimCode: time 4.61e-07/0.9879, allocations: 0 / 1.129 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of Templates: time 0.02264/1.011, allocations: 13.38 MB / 1.142 GB, free: 11.4 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearDataNegativeStart.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,weaDat.weaBus.TDryBul Variables in the result:time,weaDat.weaBus.TDryBul