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.001207/0.001207, allocations: 104 kB / 16.41 MB, free: 6.461 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.001275/0.001275, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 14.99 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.151/2.151, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 59.91 kB / 0.9515 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9349/0.9364, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearDataNegativeStart): time 0.00554/0.942, allocations: 4.256 MB / 1.093 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1969/1.139, allocations: 150.5 MB / 1.24 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001386/1.14, allocations: 23.19 kB / 1.24 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009155/1.141, allocations: 172 kB / 1.24 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002548/1.144, allocations: 486.3 kB / 1.24 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/1.146, allocations: 0.7527 MB / 1.241 GB, free: 16 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001928/1.148, allocations: 1.217 MB / 1.242 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/1.149, allocations: 0.5058 MB / 1.243 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008552/1.15, allocations: 408.3 kB / 1.243 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000826/1.151, allocations: 420 kB / 1.244 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003224/1.152, allocations: 97.62 kB / 1.244 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001223/1.153, allocations: 409.1 kB / 1.244 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004228/1.153, allocations: 255.5 kB / 1.244 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0008506/1.154, allocations: 474.6 kB / 1.245 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/1.157, allocations: 1.394 MB / 1.246 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.157, allocations: 3.984 kB / 1.246 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.784e-06/1.157, allocations: 0 / 1.246 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.914e-05/1.157, allocations: 0 / 1.246 GB, free: 12.41 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.003024/1.16, allocations: 1.265 MB / 1.247 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/1.16, allocations: 8.031 kB / 1.247 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004525/1.16, allocations: 111.7 kB / 1.248 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/1.162, allocations: 0.7189 MB / 1.248 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/1.162, allocations: 50 kB / 1.248 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/1.162, allocations: 64 kB / 1.248 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/1.163, allocations: 0.776 MB / 1.249 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/1.163, allocations: 0 / 1.249 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/1.163, allocations: 32 kB / 1.249 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/1.163, allocations: 16 kB / 1.249 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00144/1.165, allocations: 0.9766 MB / 1.25 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/1.168, allocations: 2.457 MB / 1.252 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/1.17, allocations: 0.6837 MB / 1.253 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/1.17, allocations: 251.3 kB / 1.253 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.076e-05/1.17, allocations: 24.53 kB / 1.253 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006513/1.171, allocations: 419.6 kB / 1.254 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=70): time 2.705e-06/1.171, allocations: 0 / 1.254 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=70): time 0.001616/1.172, allocations: 0.8454 MB / 1.255 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/1.173, allocations: 247.8 kB / 1.255 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008799/1.173, allocations: 0.6253 MB / 1.255 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/1.174, allocations: 41.7 kB / 1.256 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/1.174, allocations: 360.4 kB / 1.256 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/1.174, allocations: 224.8 kB / 1.256 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/1.174, allocations: 162.4 kB / 1.256 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001779/1.174, allocations: 386.8 kB / 1.257 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003854/1.175, allocations: 221.9 kB / 1.257 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/1.175, allocations: 333.4 kB / 1.257 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000844/1.176, allocations: 0.5173 MB / 1.258 GB, free: 244 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.176, allocations: 0 / 1.258 GB, free: 244 kB / 0.9825 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001226/1.177, allocations: 0.6799 MB / 1.258 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.178, allocations: 8 kB / 1.258 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.178, allocations: 4.328 kB / 1.258 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.178, allocations: 11.94 kB / 1.258 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/1.178, allocations: 147.7 kB / 1.258 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/1.178, allocations: 7.938 kB / 1.258 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006483/1.179, allocations: 83.38 kB / 1.259 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.421e-05/1.179, allocations: 31.98 kB / 1.259 GB, free: 15.26 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.0004038/1.179, allocations: 263.4 kB / 1.259 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001755/1.179, allocations: 79.06 kB / 1.259 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/1.181, allocations: 0.8445 MB / 1.26 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/1.181, allocations: 11.98 kB / 1.26 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.425e-06/1.181, allocations: 7.938 kB / 1.26 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/1.181, allocations: 3.984 kB / 1.26 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/1.182, allocations: 0.956 MB / 1.261 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/1.182, allocations: 0 / 1.261 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004372/1.183, allocations: 127.8 kB / 1.261 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/1.183, allocations: 11.97 kB / 1.261 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.796e-05/1.183, allocations: 23.97 kB / 1.261 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/1.183, allocations: 0 / 1.261 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.183, allocations: 4 kB / 1.261 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00121/1.184, allocations: 0.7354 MB / 1.262 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003619/1.185, allocations: 259.8 kB / 1.262 GB, free: 11.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/1.185, allocations: 15.98 kB / 1.262 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005184/1.185, allocations: 55.95 kB / 1.262 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/1.185, allocations: 60.56 kB / 1.262 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.738e-05/1.185, allocations: 31.98 kB / 1.262 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005677/1.186, allocations: 455 kB / 1.262 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.186, allocations: 0 / 1.262 GB, free: 11.22 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000796/1.187, allocations: 267.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.001502/1.188, allocations: 0.6204 MB / 1.263 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001069/1.189, allocations: 0.5794 MB / 1.264 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/1.189, allocations: 0 / 1.264 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004865/1.19, allocations: 319.6 kB / 1.264 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/1.191, allocations: 256.2 kB / 1.264 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/1.193, allocations: 1.461 MB / 1.266 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/1.194, allocations: 0.9688 MB / 1.267 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002724/1.194, allocations: 111.4 kB / 1.267 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/1.194, allocations: 8 kB / 1.267 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of Templates: time 0.02161/1.216, allocations: 13.48 MB / 1.28 GB, free: 9.363 MB / 1.014 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