Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") translateModel(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBlaSky.TBlaSky|TBlaSkyIrr.TBlaSky",fileNamePrefix="Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00174/0.00174, allocations: 194.3 kB / 16.14 MB, free: 6.652 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.348/1.348, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 437 MB / 0.7099 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.89 kB / 0.8685 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5846/0.5861, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006344/0.5925, allocations: 4.951 MB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1498/0.7423, allocations: 148.3 MB / 1.166 GB, free: 8.895 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007205/0.7431, allocations: 15.94 kB / 1.166 GB, free: 8.879 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005959/0.7437, allocations: 150.8 kB / 1.166 GB, free: 8.73 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001596/0.7453, allocations: 493.5 kB / 1.167 GB, free: 8.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001683/0.747, allocations: 0.7321 MB / 1.168 GB, free: 7.523 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.001356/0.7484, allocations: 1.323 MB / 1.169 GB, free: 6.195 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008489/0.7492, allocations: 0.5869 MB / 1.169 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005751/0.7498, allocations: 438.2 kB / 1.17 GB, free: 5.16 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.7503, allocations: 485.8 kB / 1.17 GB, free: 4.684 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.7505, allocations: 63.88 kB / 1.17 GB, free: 4.621 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000812/0.7513, allocations: 403.6 kB / 1.171 GB, free: 4.227 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.7516, allocations: 243.1 kB / 1.171 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0004588/0.7521, allocations: 0.5166 MB / 1.172 GB, free: 3.469 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001515/0.7536, allocations: 1.561 MB / 1.173 GB, free: 1.902 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.7536, allocations: 4 kB / 1.173 GB, free: 1.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.62e-07/0.7536, allocations: 0 / 1.173 GB, free: 1.898 MB / 0.92 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.7536, allocations: 0 / 1.173 GB, free: 1.898 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002566/0.7562, allocations: 1.45 MB / 1.174 GB, free: 408 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.7562, allocations: 12.03 kB / 1.175 GB, free: 396 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.7575, allocations: 227.4 kB / 1.175 GB, free: 168 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.7585, allocations: 0.7615 MB / 1.175 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.037e-05/0.7586, allocations: 66 kB / 1.176 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.7587, allocations: 84 kB / 1.176 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/0.7604, allocations: 0.9794 MB / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.7604, allocations: 0 / 1.177 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.819e-05/0.7605, allocations: 40 kB / 1.177 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.7605, allocations: 20 kB / 1.177 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001948/0.7625, allocations: 1.163 MB / 1.178 GB, free: 12.96 MB / 0.9356 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004247/0.7667, allocations: 3.037 MB / 1.181 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.7686, allocations: 0.9499 MB / 1.182 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005435/0.7691, allocations: 318.5 kB / 1.182 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.071e-05/0.7692, allocations: 28.61 kB / 1.182 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008898/0.7701, allocations: 0.5002 MB / 1.182 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=83): time 2.715e-06/0.7701, allocations: 0 / 1.182 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of matching and sorting (n=83): time 0.003286/0.7734, allocations: 1.231 MB / 1.184 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.517e-05/0.7735, allocations: 192.9 kB / 1.184 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007749/0.7743, allocations: 0.6332 MB / 1.184 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.473e-05/0.7744, allocations: 45.7 kB / 1.185 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.7747, allocations: 408.2 kB / 1.185 GB, free: 5.375 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002037/0.7749, allocations: 272.1 kB / 1.185 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002458/0.7752, allocations: 170.4 kB / 1.185 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.7753, allocations: 390.8 kB / 1.186 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005288/0.7759, allocations: 277.8 kB / 1.186 GB, free: 4.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006432/0.7765, allocations: 389.7 kB / 1.186 GB, free: 3.863 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.7777, allocations: 0.6423 MB / 1.187 GB, free: 3.199 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7777, allocations: 3.938 kB / 1.187 GB, free: 3.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002023/0.7797, allocations: 0.8954 MB / 1.188 GB, free: 2.293 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.7798, allocations: 4 kB / 1.188 GB, free: 2.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.7798, allocations: 4 kB / 1.188 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006245/0.7804, allocations: 84.95 kB / 1.188 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000717/0.7811, allocations: 175.8 kB / 1.188 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.7832, allocations: 1.518 MB / 1.19 GB, free: 376 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007963/0.784, allocations: 95.31 kB / 1.19 GB, free: 280 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.345e-05/0.7841, allocations: 44.03 kB / 1.19 GB, free: 236 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (100): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004415/0.7845, allocations: 275.8 kB / 1.19 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.7847, allocations: 86.95 kB / 1.19 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.7871, allocations: 1.085 MB / 1.191 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.7872, allocations: 11.94 kB / 1.191 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.7872, allocations: 4 kB / 1.191 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.7872, allocations: 3.984 kB / 1.191 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/0.7907, allocations: 2.094 MB / 1.193 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.7908, allocations: 4 kB / 1.193 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006059/0.7914, allocations: 147.8 kB / 1.193 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005351/0.7919, allocations: 84.77 kB / 1.193 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.792, allocations: 23.98 kB / 1.193 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.7938, allocations: 1.548 MB / 1.195 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7938, allocations: 0 / 1.195 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002057/0.7959, allocations: 1.019 MB / 1.196 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003597/0.7963, allocations: 275.7 kB / 1.196 GB, free: 9.301 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.7964, allocations: 23.98 kB / 1.196 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006749/0.7971, allocations: 62.19 kB / 1.196 GB, free: 9.219 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.7973, allocations: 76.83 kB / 1.196 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.7973, allocations: 39.97 kB / 1.196 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0005606/0.7979, allocations: 459 kB / 1.197 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7979, allocations: 0 / 1.197 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0008727/0.7988, allocations: 335.2 kB / 1.197 GB, free: 8.336 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001344/0.8001, allocations: 0.6091 MB / 1.198 GB, free: 7.898 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.8018, allocations: 0.8468 MB / 1.199 GB, free: 7.035 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.8018, allocations: 4 kB / 1.199 GB, free: 7.031 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009085/0.8028, allocations: 0.5278 MB / 1.199 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.804, allocations: 292.4 kB / 1.199 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.8071, allocations: 2.102 MB / 1.201 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006038/0.8077, allocations: 1.032 MB / 1.202 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008833/0.8086, allocations: 266.9 kB / 1.203 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.8089, allocations: 107.4 kB / 1.203 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of SimCode: time 3.9e-07/0.8089, allocations: 0 / 1.203 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of Templates: time 0.0255/0.8344, allocations: 15.06 MB / 1.218 GB, free: 3.758 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches