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.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.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.008885/0.008884, allocations: 100.8 kB / 15.73 MB, free: 5.992 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.001817/0.001817, allocations: 196.3 kB / 16.67 MB, free: 5.93 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.529/2.529, allocations: 390.2 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 66.17 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3221, allocations: 140.4 MB / 1.088 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005749/0.3279, allocations: 4.258 MB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1694/0.4973, allocations: 150.5 MB / 1.239 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.4984, allocations: 15.94 kB / 1.239 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006752/0.4992, allocations: 174.5 kB / 1.239 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.501, allocations: 498.8 kB / 1.24 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.503, allocations: 0.7582 MB / 1.24 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001265/0.5043, allocations: 1.207 MB / 1.242 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007242/0.505, allocations: 0.5077 MB / 1.242 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006188/0.5056, allocations: 414.5 kB / 1.243 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.5062, allocations: 418.1 kB / 1.243 GB, free: 2.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.5063, allocations: 96 kB / 1.243 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007725/0.5071, allocations: 407.6 kB / 1.243 GB, free: 1.703 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.5073, allocations: 255.1 kB / 1.244 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.5077, allocations: 481.5 kB / 1.244 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.5092, allocations: 1.398 MB / 1.245 GB, free: 15.58 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.5092, allocations: 4 kB / 1.245 GB, free: 15.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5092, allocations: 0 / 1.245 GB, free: 15.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.5092, allocations: 4 kB / 1.245 GB, free: 15.57 MB / 1.014 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.001901/0.5111, allocations: 1.254 MB / 1.247 GB, free: 14.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.5111, allocations: 12.03 kB / 1.247 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002768/0.5114, allocations: 111.7 kB / 1.247 GB, free: 14.14 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009319/0.5124, allocations: 0.7188 MB / 1.248 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.5124, allocations: 50 kB / 1.248 GB, free: 13.34 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.5125, allocations: 68 kB / 1.248 GB, free: 13.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.5136, allocations: 0.7721 MB / 1.248 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.5136, allocations: 3.938 kB / 1.248 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.159e-05/0.5137, allocations: 32 kB / 1.248 GB, free: 12.41 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.5137, allocations: 16 kB / 1.248 GB, free: 12.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001248/0.515, allocations: 0.9689 MB / 1.249 GB, free: 11.42 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.5179, allocations: 2.466 MB / 1.252 GB, free: 8.875 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.519, allocations: 0.6799 MB / 1.252 GB, free: 8.18 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.5194, allocations: 243.3 kB / 1.253 GB, free: 7.934 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.621e-05/0.5194, allocations: 32.52 kB / 1.253 GB, free: 7.902 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005801/0.52, allocations: 427.5 kB / 1.253 GB, free: 7.469 MB / 1.014 GB Notification: Performance of pre-optimization done (n=70): time 2.175e-06/0.52, allocations: 0 / 1.253 GB, free: 7.469 MB / 1.014 GB Notification: Performance of matching and sorting (n=70): time 0.001391/0.5214, allocations: 0.8376 MB / 1.254 GB, free: 6.625 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.5216, allocations: 247.8 kB / 1.254 GB, free: 6.324 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007013/0.5223, allocations: 0.6215 MB / 1.255 GB, free: 5.691 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.5223, allocations: 41.83 kB / 1.255 GB, free: 5.645 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.5226, allocations: 364.4 kB / 1.255 GB, free: 5.285 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.5228, allocations: 216.9 kB / 1.255 GB, free: 5.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.523, allocations: 154.4 kB / 1.256 GB, free: 4.914 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5231, allocations: 386.8 kB / 1.256 GB, free: 4.527 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.5235, allocations: 221.9 kB / 1.256 GB, free: 4.309 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.524, allocations: 337.4 kB / 1.256 GB, free: 3.953 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/0.5248, allocations: 0.5172 MB / 1.257 GB, free: 3.422 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5248, allocations: 0 / 1.257 GB, free: 3.422 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001029/0.5258, allocations: 0.6838 MB / 1.258 GB, free: 2.73 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.5258, allocations: 11.94 kB / 1.258 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.5258, allocations: 0 / 1.258 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.5259, allocations: 4 kB / 1.258 GB, free: 2.715 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.5264, allocations: 151.8 kB / 1.258 GB, free: 2.566 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.5264, allocations: 7.938 kB / 1.258 GB, free: 2.559 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.5269, allocations: 93.11 kB / 1.258 GB, free: 2.469 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.527, allocations: 35.97 kB / 1.258 GB, free: 2.434 MB / 1.014 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.0002945/0.5273, allocations: 259.4 kB / 1.258 GB, free: 2.172 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.5274, allocations: 79.06 kB / 1.258 GB, free: 2.094 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/0.5288, allocations: 0.8445 MB / 1.259 GB, free: 1.238 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.914e-06/0.5289, allocations: 8 kB / 1.259 GB, free: 1.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5289, allocations: 3.938 kB / 1.259 GB, free: 1.227 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.5289, allocations: 3.984 kB / 1.259 GB, free: 1.223 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009697/0.5299, allocations: 0.9715 MB / 1.26 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.5299, allocations: 0 / 1.26 GB, free: 192 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004049/0.5303, allocations: 119.9 kB / 1.26 GB, free: 72 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.406e-06/0.5303, allocations: 7.938 kB / 1.26 GB, free: 64 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.338e-05/0.5303, allocations: 27.92 kB / 1.26 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5304, allocations: 0 / 1.26 GB, free: 36 kB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5304, allocations: 4 kB / 1.26 GB, free: 32 kB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6608/1.191, allocations: 0.7266 MB / 1.261 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004128/1.192, allocations: 262.3 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/1.192, allocations: 16.84 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/1.192, allocations: 51.91 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001934/1.192, allocations: 60.55 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.88e-05/1.193, allocations: 30.36 kB / 1.261 GB, free: 174.2 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008034/1.193, allocations: 458.9 kB / 1.262 GB, free: 174.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.11e-07/1.193, allocations: 0 / 1.262 GB, free: 174.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001072/1.194, allocations: 262.8 kB / 1.262 GB, free: 174.1 MB / 1.014 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.001717/1.196, allocations: 0.6051 MB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001335/1.198, allocations: 0.584 MB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.198, allocations: 0.625 kB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/1.198, allocations: 323.4 kB / 1.263 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/1.199, allocations: 266.8 kB / 1.264 GB, free: 173.9 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/1.202, allocations: 1.413 MB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000655/1.203, allocations: 0.9793 MB / 1.266 GB, free: 172.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000885/1.204, allocations: 244.4 kB / 1.266 GB, free: 172.5 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002793/1.204, allocations: 94.53 kB / 1.266 GB, free: 172.5 MB / 1.014 GB Notification: Performance of SimCode: time 7.21e-07/1.204, allocations: 1.031 kB / 1.266 GB, free: 172.5 MB / 1.014 GB Notification: Performance of Templates: time 0.03467/1.239, allocations: 12.52 MB / 1.279 GB, free: 171.4 MB / 1.014 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