Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001063/0.001063, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008551/0.008551, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.408/1.408, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.824/2.824, allocations: 462.7 MB / 0.7364 GB, free: 284 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003064, allocations: 6.125 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3028, allocations: 159.6 MB / 1.059 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005236/0.3081, allocations: 4.517 MB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1493/0.4574, allocations: 146.7 MB / 1.206 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007034/0.4582, allocations: 23.81 kB / 1.206 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005318/0.4587, allocations: 154.8 kB / 1.207 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001514/0.4602, allocations: 477 kB / 1.207 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.4622, allocations: 0.7333 MB / 1.208 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001665/0.4639, allocations: 1.33 MB / 1.209 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009753/0.4648, allocations: 0.5751 MB / 1.21 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007118/0.4656, allocations: 366.2 kB / 1.21 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005122/0.4661, allocations: 397.9 kB / 1.21 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.89e-05/0.4662, allocations: 28 kB / 1.21 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007943/0.467, allocations: 367.6 kB / 1.211 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.4672, allocations: 187.1 kB / 1.211 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004033/0.4676, allocations: 486.8 kB / 1.211 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.4691, allocations: 1.514 MB / 1.213 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4691, allocations: 0 / 1.213 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4691, allocations: 0 / 1.213 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.119e-05/0.4691, allocations: 0 / 1.213 GB, free: 7.055 MB / 0.9669 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.002193/0.4713, allocations: 1.248 MB / 1.214 GB, free: 5.762 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4713, allocations: 8.031 kB / 1.214 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.4726, allocations: 247.4 kB / 1.214 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009979/0.4736, allocations: 0.75 MB / 1.215 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/0.4736, allocations: 66 kB / 1.215 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.4738, allocations: 84 kB / 1.215 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.4754, allocations: 0.995 MB / 1.216 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.4754, allocations: 0 / 1.216 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.544e-05/0.4755, allocations: 43.94 kB / 1.216 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.4756, allocations: 20 kB / 1.216 GB, free: 3.465 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.4775, allocations: 1.178 MB / 1.217 GB, free: 2.289 MB / 0.9669 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.004193/0.4817, allocations: 3.07 MB / 1.22 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001782/0.4835, allocations: 0.9655 MB / 1.221 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005685/0.4841, allocations: 321.1 kB / 1.222 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.699e-05/0.4842, allocations: 28.61 kB / 1.222 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008955/0.4851, allocations: 0.5003 MB / 1.222 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=83): time 3.727e-06/0.4851, allocations: 3.984 kB / 1.222 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.003246/0.4884, allocations: 1.255 MB / 1.223 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.4885, allocations: 196.8 kB / 1.223 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007802/0.4893, allocations: 0.6332 MB / 1.224 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.29e-05/0.4894, allocations: 41.7 kB / 1.224 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.4897, allocations: 412.3 kB / 1.225 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.4899, allocations: 272.1 kB / 1.225 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.791e-05/0.49, allocations: 69.69 kB / 1.225 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.4902, allocations: 390.7 kB / 1.225 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005379/0.4908, allocations: 277.9 kB / 1.225 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006302/0.4914, allocations: 393.6 kB / 1.226 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/0.4926, allocations: 0.6579 MB / 1.227 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4926, allocations: 0 / 1.227 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001941/0.4945, allocations: 0.8994 MB / 1.227 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.4946, allocations: 4 kB / 1.227 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.4946, allocations: 4 kB / 1.227 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005811/0.4952, allocations: 84.95 kB / 1.227 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/0.4958, allocations: 167.8 kB / 1.228 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.4979, allocations: 1.528 MB / 1.229 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/0.4987, allocations: 115.4 kB / 1.229 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.4988, allocations: 35.97 kB / 1.229 GB, free: 5.539 MB / 0.9825 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.0004738/0.4992, allocations: 283.5 kB / 1.23 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.4994, allocations: 82.97 kB / 1.23 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.5018, allocations: 1.089 MB / 1.231 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.5018, allocations: 19.92 kB / 1.231 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.5018, allocations: 0 / 1.231 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.5018, allocations: 3.984 kB / 1.231 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003499/0.5053, allocations: 2.102 MB / 1.233 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.5053, allocations: 0 / 1.233 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000587/0.5059, allocations: 163.7 kB / 1.233 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00051/0.5065, allocations: 80.78 kB / 1.233 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/0.5065, allocations: 23.98 kB / 1.233 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.5083, allocations: 1.556 MB / 1.235 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5084, allocations: 0 / 1.235 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/0.5104, allocations: 1.027 MB / 1.236 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004143/0.5108, allocations: 287.6 kB / 1.236 GB, free: 14.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.5109, allocations: 20 kB / 1.236 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007061/0.5116, allocations: 90.67 kB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.5118, allocations: 72.89 kB / 1.236 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.459e-05/0.5119, allocations: 31.98 kB / 1.236 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005598/0.5124, allocations: 463 kB / 1.236 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5124, allocations: 4 kB / 1.236 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009034/0.5134, allocations: 335.2 kB / 1.237 GB, free: 13.58 MB / 0.9981 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.001353/0.5147, allocations: 0.6023 MB / 1.237 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001741/0.5165, allocations: 0.8626 MB / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5165, allocations: 0 / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009221/0.5174, allocations: 0.5316 MB / 1.239 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/0.5188, allocations: 285.7 kB / 1.239 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003095/0.5219, allocations: 2.131 MB / 1.241 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.5225, allocations: 1.033 MB / 1.242 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000857/0.5234, allocations: 262.8 kB / 1.242 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.5237, allocations: 111.4 kB / 1.242 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of SimCode: time 7.42e-07/0.5237, allocations: 0 / 1.242 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of Templates: time 0.5283/1.052, allocations: 14.98 MB / 1.257 GB, free: 189.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches