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: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008014/0.008014, allocations: 103.7 kB / 15.73 MB, free: 6.043 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.001986/0.001986, allocations: 200.5 kB / 16.68 MB, free: 5.98 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.191 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.622/2.622, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 60.11 kB / 1.054 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2955, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006079/0.3016, allocations: 4.943 MB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7547/1.056, allocations: 150.6 MB / 1.359 GB, free: 9.379 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008829/1.057, allocations: 19.38 kB / 1.359 GB, free: 9.371 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008032/1.058, allocations: 198.2 kB / 1.359 GB, free: 9.242 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002088/1.06, allocations: 0.5497 MB / 1.36 GB, free: 8.926 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002264/1.063, allocations: 0.8561 MB / 1.361 GB, free: 8.484 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002053/1.065, allocations: 1.423 MB / 1.362 GB, free: 7.754 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/1.066, allocations: 0.602 MB / 1.363 GB, free: 7.438 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/1.067, allocations: 0.5012 MB / 1.363 GB, free: 7.188 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009881/1.068, allocations: 0.5068 MB / 1.364 GB, free: 6.926 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003564/1.068, allocations: 116.2 kB / 1.364 GB, free: 6.926 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/1.069, allocations: 495.5 kB / 1.364 GB, free: 6.809 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004023/1.07, allocations: 296.9 kB / 1.365 GB, free: 6.625 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009387/1.071, allocations: 0.58 MB / 1.365 GB, free: 6.238 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00255/1.073, allocations: 1.657 MB / 1.367 GB, free: 5.535 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/1.073, allocations: 0 / 1.367 GB, free: 5.535 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/1.073, allocations: 1.219 kB / 1.367 GB, free: 5.535 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.441e-05/1.073, allocations: 0 / 1.367 GB, free: 5.535 MB / 1.061 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.003815/1.077, allocations: 1.461 MB / 1.368 GB, free: 4.551 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/1.077, allocations: 10.66 kB / 1.368 GB, free: 4.551 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002757/1.078, allocations: 143.9 kB / 1.368 GB, free: 4.453 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001413/1.079, allocations: 233.5 kB / 1.369 GB, free: 4.387 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/1.081, allocations: 0.7751 MB / 1.369 GB, free: 3.891 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/1.081, allocations: 65.81 kB / 1.369 GB, free: 3.859 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002511/1.081, allocations: 84.22 kB / 1.369 GB, free: 3.832 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00269/1.084, allocations: 0.9839 MB / 1.37 GB, free: 3.371 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.185e-05/1.084, allocations: 0 / 1.37 GB, free: 3.371 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001171/1.084, allocations: 37.62 kB / 1.37 GB, free: 3.344 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.105e-05/1.084, allocations: 21.62 kB / 1.37 GB, free: 3.344 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/1.086, allocations: 1.167 MB / 1.372 GB, free: 2.945 MB / 1.061 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.005032/1.091, allocations: 3 MB / 1.375 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/1.094, allocations: 0.9507 MB / 1.375 GB, free: 15.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/1.094, allocations: 314.1 kB / 1.376 GB, free: 15.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.591e-05/1.094, allocations: 30.89 kB / 1.376 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009303/1.095, allocations: 0.5048 MB / 1.376 GB, free: 15.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=83): time 4.369e-06/1.095, allocations: 0 / 1.376 GB, free: 15.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.003409/1.099, allocations: 1.226 MB / 1.377 GB, free: 14.79 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/1.099, allocations: 194.1 kB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.1, allocations: 0.6314 MB / 1.378 GB, free: 14.2 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001058/1.1, allocations: 45.81 kB / 1.378 GB, free: 14.15 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003379/1.1, allocations: 414 kB / 1.379 GB, free: 13.79 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/1.1, allocations: 270.9 kB / 1.379 GB, free: 13.55 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/1.101, allocations: 149.7 kB / 1.379 GB, free: 13.46 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.101, allocations: 389.8 kB / 1.379 GB, free: 13.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005531/1.101, allocations: 252.6 kB / 1.38 GB, free: 12.97 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/1.102, allocations: 392.2 kB / 1.38 GB, free: 12.7 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001172/1.103, allocations: 0.6179 MB / 1.381 GB, free: 12.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/1.103, allocations: 1 kB / 1.381 GB, free: 12.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002132/1.105, allocations: 0.843 MB / 1.382 GB, free: 11.91 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/1.106, allocations: 5.75 kB / 1.382 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.278e-06/1.106, allocations: 2.469 kB / 1.382 GB, free: 11.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006026/1.106, allocations: 80.77 kB / 1.382 GB, free: 11.88 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/1.107, allocations: 160.2 kB / 1.382 GB, free: 11.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002044/1.109, allocations: 1.644 MB / 1.383 GB, free: 10.23 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008809/1.11, allocations: 95.41 kB / 1.383 GB, free: 10.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.311e-05/1.11, allocations: 30.05 kB / 1.384 GB, free: 10.16 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 (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 (92): * Single equations (assignments): 91 * 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.0005504/1.11, allocations: 269.2 kB / 1.384 GB, free: 9.945 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002893/1.111, allocations: 83.06 kB / 1.384 GB, free: 9.902 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002616/1.113, allocations: 1.088 MB / 1.385 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.113, allocations: 17.66 kB / 1.385 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.113, allocations: 64 / 1.385 GB, free: 9.293 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/1.113, allocations: 11.92 kB / 1.385 GB, free: 9.281 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/1.118, allocations: 2.103 MB / 1.387 GB, free: 7.855 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/1.118, allocations: 0 / 1.387 GB, free: 7.855 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/1.118, allocations: 152.2 kB / 1.387 GB, free: 7.82 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/1.119, allocations: 75.53 kB / 1.387 GB, free: 7.781 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.364e-05/1.119, allocations: 23.67 kB / 1.387 GB, free: 7.766 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/1.121, allocations: 1.658 MB / 1.389 GB, free: 6.152 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.121, allocations: 0 / 1.389 GB, free: 6.152 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/1.123, allocations: 1.015 MB / 1.39 GB, free: 5.578 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005555/1.124, allocations: 271.9 kB / 1.39 GB, free: 5.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/1.124, allocations: 22.22 kB / 1.39 GB, free: 5.324 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/1.125, allocations: 64.59 kB / 1.39 GB, free: 5.293 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.125, allocations: 70.17 kB / 1.39 GB, free: 5.258 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/1.125, allocations: 43.28 kB / 1.39 GB, free: 5.238 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007156/1.126, allocations: 459.2 kB / 1.391 GB, free: 4.98 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.126, allocations: 0 / 1.391 GB, free: 4.98 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00117/1.127, allocations: 328.2 kB / 1.391 GB, free: 4.887 MB / 1.076 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.003789/1.131, allocations: 2.06 MB / 1.393 GB, free: 3.59 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001918/1.133, allocations: 0.8317 MB / 1.394 GB, free: 3.152 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/1.133, allocations: 1.375 kB / 1.394 GB, free: 3.152 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009978/1.134, allocations: 0.5215 MB / 1.394 GB, free: 2.859 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/1.135, allocations: 333 kB / 1.395 GB, free: 2.691 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/1.147, allocations: 6.329 MB / 1.401 GB, free: 14.75 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/1.147, allocations: 1.032 MB / 1.402 GB, free: 13.91 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009421/1.148, allocations: 270.4 kB / 1.402 GB, free: 13.77 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006419/1.149, allocations: 392.5 kB / 1.403 GB, free: 13.46 MB / 1.092 GB Notification: Performance of SimCode: time 8.12e-07/1.149, allocations: 0 / 1.403 GB, free: 13.46 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05441/1.203, allocations: 22.75 MB / 1.425 GB, free: 7.867 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.89, allocations: 13 kB / 1.425 GB, free: 7.859 MB / 1.107 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches