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.008294/0.008294, allocations: 98.38 kB / 15.73 MB, free: 6.445 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: 201 kB / 16.68 MB, free: 6.352 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.289 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.615/2.615, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001217, allocations: 63.91 kB / 1.018 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3024, allocations: 151.6 MB / 1.167 GB, free: 6.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006492/0.3089, allocations: 4.941 MB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.7304/1.039, allocations: 150.6 MB / 1.319 GB, free: 10.31 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008609/1.04, allocations: 24.31 kB / 1.319 GB, free: 10.3 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0006747/1.041, allocations: 191.1 kB / 1.319 GB, free: 10.2 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001807/1.043, allocations: 0.5573 MB / 1.319 GB, free: 9.949 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001956/1.045, allocations: 0.8445 MB / 1.32 GB, free: 9.797 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.001759/1.047, allocations: 1.43 MB / 1.321 GB, free: 9.523 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008683/1.047, allocations: 0.6012 MB / 1.322 GB, free: 9.367 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007418/1.048, allocations: 0.4978 MB / 1.323 GB, free: 9.262 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006447/1.049, allocations: 0.5105 MB / 1.323 GB, free: 9.133 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002105/1.049, allocations: 116.8 kB / 1.323 GB, free: 9.133 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/1.05, allocations: 0.4883 MB / 1.324 GB, free: 9.094 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0003094/1.05, allocations: 297.7 kB / 1.324 GB, free: 9.004 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005977/1.051, allocations: 0.5702 MB / 1.324 GB, free: 8.625 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/1.054, allocations: 1.668 MB / 1.326 GB, free: 7.914 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.054, allocations: 0 / 1.326 GB, free: 7.914 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.575e-06/1.054, allocations: 0 / 1.326 GB, free: 7.914 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.969e-05/1.054, allocations: 4.359 kB / 1.326 GB, free: 7.914 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.003604/1.057, allocations: 1.496 MB / 1.328 GB, free: 6.895 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/1.057, allocations: 9.562 kB / 1.328 GB, free: 6.895 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001258/1.059, allocations: 237 kB / 1.328 GB, free: 6.824 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/1.06, allocations: 0.7745 MB / 1.329 GB, free: 6.324 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.089e-05/1.06, allocations: 65.97 kB / 1.329 GB, free: 6.297 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/1.06, allocations: 84.75 kB / 1.329 GB, free: 6.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/1.062, allocations: 0.9856 MB / 1.33 GB, free: 5.805 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/1.062, allocations: 1.5 kB / 1.33 GB, free: 5.805 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/1.062, allocations: 38.91 kB / 1.33 GB, free: 5.777 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/1.062, allocations: 25.94 kB / 1.33 GB, free: 5.773 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/1.064, allocations: 1.166 MB / 1.331 GB, free: 5.504 MB / 1.014 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.004669/1.069, allocations: 3.016 MB / 1.334 GB, free: 3.566 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/1.071, allocations: 0.939 MB / 1.335 GB, free: 3.156 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005491/1.072, allocations: 311.8 kB / 1.335 GB, free: 3.039 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-05/1.072, allocations: 32.11 kB / 1.335 GB, free: 3.027 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008801/1.073, allocations: 0.5052 MB / 1.336 GB, free: 2.816 MB / 1.014 GB Notification: Performance of pre-optimization done (n=83): time 2.855e-06/1.073, allocations: 0 / 1.336 GB, free: 2.816 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.003411/1.076, allocations: 1.229 MB / 1.337 GB, free: 2.301 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.076, allocations: 197.6 kB / 1.337 GB, free: 2.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/1.077, allocations: 0.6393 MB / 1.338 GB, free: 1.785 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/1.077, allocations: 42.83 kB / 1.338 GB, free: 1.742 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003703/1.078, allocations: 422.7 kB / 1.338 GB, free: 1.41 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002664/1.078, allocations: 282.2 kB / 1.338 GB, free: 1.188 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/1.078, allocations: 177.2 kB / 1.338 GB, free: 1.105 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001888/1.078, allocations: 389.2 kB / 1.339 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005753/1.079, allocations: 274.2 kB / 1.339 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006604/1.08, allocations: 393.2 kB / 1.339 GB, free: 484 kB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.081, allocations: 0.6452 MB / 1.34 GB, free: 160 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/1.081, allocations: 1.469 kB / 1.34 GB, free: 160 kB / 1.014 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002357/1.083, allocations: 0.884 MB / 1.341 GB, free: 15.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/1.083, allocations: 9.312 kB / 1.341 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/1.083, allocations: 5 kB / 1.341 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006013/1.084, allocations: 84.77 kB / 1.341 GB, free: 15.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000731/1.085, allocations: 170.7 kB / 1.341 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/1.087, allocations: 1.632 MB / 1.343 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/1.088, allocations: 104.3 kB / 1.343 GB, free: 14.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-05/1.088, allocations: 39.44 kB / 1.343 GB, free: 14.16 MB / 1.029 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.0005475/1.088, allocations: 272.3 kB / 1.343 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/1.089, allocations: 88.69 kB / 1.343 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/1.091, allocations: 1.092 MB / 1.344 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/1.091, allocations: 9.094 kB / 1.344 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/1.091, allocations: 4 kB / 1.344 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/1.091, allocations: 5.844 kB / 1.344 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003691/1.095, allocations: 2.087 MB / 1.346 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.095, allocations: 0 / 1.346 GB, free: 12.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/1.096, allocations: 152.8 kB / 1.347 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004218/1.096, allocations: 74.58 kB / 1.347 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.28e-05/1.096, allocations: 24.23 kB / 1.347 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/1.098, allocations: 1.663 MB / 1.348 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.098, allocations: 7.578 kB / 1.348 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/1.1, allocations: 1.018 MB / 1.349 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004657/1.101, allocations: 280.2 kB / 1.35 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/1.101, allocations: 17.41 kB / 1.35 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/1.101, allocations: 70.12 kB / 1.35 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/1.102, allocations: 71.09 kB / 1.35 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/1.102, allocations: 39.36 kB / 1.35 GB, free: 10.11 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006104/1.102, allocations: 457.7 kB / 1.35 GB, free: 9.91 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.41e-07/1.102, allocations: 1.156 kB / 1.35 GB, free: 9.91 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001103/1.103, allocations: 335.9 kB / 1.35 GB, free: 9.82 MB / 1.029 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.001503/1.105, allocations: 0.6155 MB / 1.351 GB, free: 9.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001884/1.107, allocations: 0.8456 MB / 1.352 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/1.107, allocations: 1.156 kB / 1.352 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0009546/1.108, allocations: 0.5274 MB / 1.352 GB, free: 8.949 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/1.109, allocations: 324.7 kB / 1.353 GB, free: 8.848 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/1.112, allocations: 1.693 MB / 1.354 GB, free: 7.965 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006354/1.113, allocations: 1.032 MB / 1.355 GB, free: 7.234 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000932/1.114, allocations: 267.7 kB / 1.356 GB, free: 7.156 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002771/1.114, allocations: 108.6 kB / 1.356 GB, free: 7.137 MB / 1.029 GB Notification: Performance of SimCode: time 5.11e-07/1.114, allocations: 4 kB / 1.356 GB, free: 7.133 MB / 1.029 GB Notification: Performance of Templates: time 0.02636/1.141, allocations: 15.91 MB / 1.371 GB, free: 15.38 MB / 1.045 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