Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.DecemberToJanuary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=482,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.HDirNor|weaDat.weaBus.HDifHor",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") translateModel(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=482,variableFilter="time|weaDat.weaBus.TDryBul|weaDat.weaBus.HDirNor|weaDat.weaBus.HDifHor",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 91.61 kB / 15.06 MB, free: 1.098 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: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.234 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.464/2.464, allocations: 390.9 MB / 0.666 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004659/0.0004661, allocations: 8 kB / 0.8154 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8215/0.822, allocations: 142.4 MB / 0.9544 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.00459/0.8266, allocations: 3.665 MB / 0.958 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1717/0.9983, allocations: 136.7 MB / 1.092 GB, free: 2.758 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006518/0.999, allocations: 23.88 kB / 1.092 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004879/0.9995, allocations: 123 kB / 1.092 GB, free: 2.613 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001234/1.001, allocations: 399.5 kB / 1.092 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001485/1.002, allocations: 0.564 MB / 1.093 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001104/1.003, allocations: 1.031 MB / 1.094 GB, free: 0.6328 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005671/1.004, allocations: 369.7 kB / 1.094 GB, free: 272 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/1.004, allocations: 286.7 kB / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004735/1.005, allocations: 314.4 kB / 1.095 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.518e-05/1.005, allocations: 24 kB / 1.095 GB, free: 15.65 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006868/1.006, allocations: 271.7 kB / 1.095 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001812/1.006, allocations: 167.3 kB / 1.095 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/1.006, allocations: 173.2 kB / 1.095 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001054/1.007, allocations: 0.9975 MB / 1.096 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/1.007, allocations: 4 kB / 1.096 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.774e-06/1.007, allocations: 0 / 1.096 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.124e-05/1.007, allocations: 0 / 1.096 GB, free: 14.04 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.00197/1.009, allocations: 1.102 MB / 1.097 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.009, allocations: 8.031 kB / 1.097 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/1.009, allocations: 106.8 kB / 1.097 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009118/1.01, allocations: 0.6603 MB / 1.098 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.572e-05/1.01, allocations: 54 kB / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/1.011, allocations: 67.98 kB / 1.098 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/1.012, allocations: 0.772 MB / 1.099 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/1.012, allocations: 0 / 1.099 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.84e-05/1.012, allocations: 39.94 kB / 1.099 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/1.012, allocations: 16 kB / 1.099 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/1.013, allocations: 0.9689 MB / 1.1 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003311/1.017, allocations: 2.505 MB / 1.102 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/1.018, allocations: 0.6773 MB / 1.103 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/1.018, allocations: 251.3 kB / 1.103 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.84e-05/1.018, allocations: 28.5 kB / 1.103 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006944/1.019, allocations: 415.6 kB / 1.104 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=70): time 1.833e-06/1.019, allocations: 4 kB / 1.104 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70): time 0.001414/1.02, allocations: 0.8338 MB / 1.104 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/1.02, allocations: 247.8 kB / 1.105 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007359/1.021, allocations: 0.6214 MB / 1.105 GB, free: 4.344 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.263e-05/1.021, allocations: 41.7 kB / 1.105 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/1.022, allocations: 360.4 kB / 1.106 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/1.022, allocations: 228.8 kB / 1.106 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/1.022, allocations: 16 kB / 1.106 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.022, allocations: 382.9 kB / 1.106 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003427/1.022, allocations: 221.9 kB / 1.106 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/1.023, allocations: 329.4 kB / 1.107 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000426/1.023, allocations: 255.2 kB / 1.107 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.023, allocations: 0 / 1.107 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001061/1.024, allocations: 0.6798 MB / 1.108 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.024, allocations: 4 kB / 1.108 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/1.024, allocations: 4 kB / 1.108 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.024, allocations: 4 kB / 1.108 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/1.025, allocations: 147.7 kB / 1.108 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/1.025, allocations: 8.156 kB / 1.108 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/1.025, allocations: 91.39 kB / 1.108 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/1.026, allocations: 39.92 kB / 1.108 GB, free: 1.52 MB / 0.8575 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 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003558/1.026, allocations: 259.2 kB / 1.108 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/1.026, allocations: 83.05 kB / 1.108 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/1.028, allocations: 0.8522 MB / 1.109 GB, free: 320 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/1.028, allocations: 12 kB / 1.109 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.028, allocations: 0 / 1.109 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.929e-06/1.028, allocations: 3.984 kB / 1.109 GB, free: 304 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/1.029, allocations: 0.9598 MB / 1.11 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/1.029, allocations: 0 / 1.11 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000445/1.029, allocations: 123.8 kB / 1.11 GB, free: 15.16 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/1.029, allocations: 4 kB / 1.11 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/1.029, allocations: 31.95 kB / 1.11 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.029, allocations: 4 kB / 1.11 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.029, allocations: 0 / 1.11 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/1.03, allocations: 0.7392 MB / 1.111 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003122/1.031, allocations: 271.8 kB / 1.111 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/1.031, allocations: 16 kB / 1.111 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004795/1.031, allocations: 73.91 kB / 1.111 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.031, allocations: 60.56 kB / 1.111 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.723e-05/1.031, allocations: 31.94 kB / 1.111 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005405/1.032, allocations: 455 kB / 1.112 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.41e-07/1.032, allocations: 0 / 1.112 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007462/1.033, allocations: 275.4 kB / 1.112 GB, free: 13.19 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001362/1.034, allocations: 0.5795 MB / 1.113 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009416/1.035, allocations: 0.5755 MB / 1.113 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/1.035, allocations: 8 kB / 1.113 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005006/1.036, allocations: 315.9 kB / 1.114 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001052/1.037, allocations: 242.3 kB / 1.114 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002379/1.039, allocations: 1.714 MB / 1.115 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/1.04, allocations: 0.9779 MB / 1.116 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007173/1.04, allocations: 254.2 kB / 1.117 GB, free: 8.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/1.04, allocations: 99.39 kB / 1.117 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of SimCode: time 8.61e-07/1.04, allocations: 0 / 1.117 GB, free: 8.562 MB / 0.8731 GB Notification: Performance of Templates: time 0.02132/1.062, allocations: 11.45 MB / 1.128 GB, free: 13.25 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches