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.005815/0.005815, allocations: 101 kB / 15.73 MB, free: 6.062 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.001196/0.001196, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.89 kB / 1.054 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8218/0.8232, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006774/0.83, allocations: 4.934 MB / 1.213 GB, free: 8.676 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.172/1.002, allocations: 150.6 MB / 1.36 GB, free: 1.457 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/1.003, allocations: 19.94 kB / 1.36 GB, free: 1.438 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/1.005, allocations: 198.1 kB / 1.36 GB, free: 1.242 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002779/1.007, allocations: 0.5529 MB / 1.36 GB, free: 0.6914 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/1.01, allocations: 0.8516 MB / 1.361 GB, free: 15.84 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002347/1.013, allocations: 1.428 MB / 1.363 GB, free: 14.41 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001329/1.014, allocations: 0.6066 MB / 1.363 GB, free: 13.79 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/1.015, allocations: 0.4983 MB / 1.364 GB, free: 13.29 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009709/1.016, allocations: 0.5095 MB / 1.364 GB, free: 12.77 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003311/1.016, allocations: 120 kB / 1.364 GB, free: 12.66 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/1.018, allocations: 487.6 kB / 1.365 GB, free: 12.18 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003922/1.018, allocations: 303 kB / 1.365 GB, free: 11.88 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0009246/1.019, allocations: 0.5752 MB / 1.366 GB, free: 11.3 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002648/1.022, allocations: 1.649 MB / 1.367 GB, free: 9.652 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/1.022, allocations: 3.938 kB / 1.367 GB, free: 9.648 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.713e-06/1.022, allocations: 0 / 1.367 GB, free: 9.648 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.985e-05/1.022, allocations: 0 / 1.367 GB, free: 9.648 MB / 1.092 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.003825/1.026, allocations: 1.466 MB / 1.369 GB, free: 8.129 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/1.026, allocations: 8.031 kB / 1.369 GB, free: 8.121 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/1.027, allocations: 231.3 kB / 1.369 GB, free: 7.895 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001638/1.029, allocations: 0.7695 MB / 1.37 GB, free: 7.086 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.163e-05/1.029, allocations: 62 kB / 1.37 GB, free: 7.023 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001639/1.029, allocations: 91.92 kB / 1.37 GB, free: 6.934 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/1.031, allocations: 0.9755 MB / 1.371 GB, free: 5.91 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/1.031, allocations: 3.938 kB / 1.371 GB, free: 5.906 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/1.031, allocations: 36 kB / 1.371 GB, free: 5.871 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/1.031, allocations: 27.98 kB / 1.371 GB, free: 5.844 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002095/1.033, allocations: 1.167 MB / 1.372 GB, free: 4.676 MB / 1.092 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.004986/1.038, allocations: 3.009 MB / 1.375 GB, free: 1.535 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001982/1.04, allocations: 0.9444 MB / 1.376 GB, free: 0.5664 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/1.041, allocations: 310.7 kB / 1.376 GB, free: 264 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.057e-05/1.041, allocations: 32.59 kB / 1.376 GB, free: 232 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009375/1.042, allocations: 0.5036 MB / 1.377 GB, free: 15.71 MB / 1.107 GB Notification: Performance of pre-optimization done (n=83): time 3.166e-06/1.042, allocations: 0 / 1.377 GB, free: 15.71 MB / 1.107 GB Notification: Performance of matching and sorting (n=83): time 0.003318/1.045, allocations: 1.231 MB / 1.378 GB, free: 14.45 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/1.046, allocations: 192.9 kB / 1.378 GB, free: 14.22 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009881/1.047, allocations: 0.637 MB / 1.379 GB, free: 13.57 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.608e-05/1.047, allocations: 41.64 kB / 1.379 GB, free: 13.52 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/1.047, allocations: 408.3 kB / 1.379 GB, free: 13.12 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/1.047, allocations: 280 kB / 1.379 GB, free: 12.84 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002798/1.048, allocations: 174.5 kB / 1.379 GB, free: 12.66 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.048, allocations: 382.8 kB / 1.38 GB, free: 12.28 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/1.048, allocations: 273.9 kB / 1.38 GB, free: 12.01 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006784/1.049, allocations: 393.7 kB / 1.38 GB, free: 11.61 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/1.05, allocations: 0.6423 MB / 1.381 GB, free: 10.95 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/1.05, allocations: 0 / 1.381 GB, free: 10.95 MB / 1.107 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002087/1.052, allocations: 0.8877 MB / 1.382 GB, free: 10.04 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.052, allocations: 8 kB / 1.382 GB, free: 10.04 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/1.052, allocations: 0 / 1.382 GB, free: 10.04 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006134/1.053, allocations: 88.89 kB / 1.382 GB, free: 9.945 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006783/1.054, allocations: 171.8 kB / 1.382 GB, free: 9.777 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/1.056, allocations: 1.637 MB / 1.384 GB, free: 8 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008829/1.057, allocations: 107.3 kB / 1.384 GB, free: 7.895 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/1.057, allocations: 35.98 kB / 1.384 GB, free: 7.859 MB / 1.107 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.000566/1.058, allocations: 267.4 kB / 1.384 GB, free: 7.59 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/1.058, allocations: 86.97 kB / 1.384 GB, free: 7.504 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/1.06, allocations: 1.077 MB / 1.385 GB, free: 6.414 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/1.06, allocations: 12 kB / 1.385 GB, free: 6.402 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.06, allocations: 4 kB / 1.385 GB, free: 6.398 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/1.06, allocations: 3.984 kB / 1.385 GB, free: 6.395 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004/1.064, allocations: 2.087 MB / 1.387 GB, free: 4.234 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.064, allocations: 3.984 kB / 1.387 GB, free: 4.23 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/1.065, allocations: 147.8 kB / 1.388 GB, free: 4.086 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004751/1.066, allocations: 76.73 kB / 1.388 GB, free: 4.008 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.383e-05/1.066, allocations: 31.97 kB / 1.388 GB, free: 3.977 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/1.068, allocations: 1.658 MB / 1.389 GB, free: 2.172 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/1.068, allocations: 3.984 kB / 1.389 GB, free: 2.168 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/1.07, allocations: 1.014 MB / 1.39 GB, free: 1.137 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/1.07, allocations: 271.7 kB / 1.391 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/1.071, allocations: 27.98 kB / 1.391 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007573/1.071, allocations: 63.88 kB / 1.391 GB, free: 0.7617 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/1.072, allocations: 76.83 kB / 1.391 GB, free: 0.6836 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.182e-05/1.072, allocations: 35.98 kB / 1.391 GB, free: 0.6484 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0008647/1.073, allocations: 459 kB / 1.391 GB, free: 212 kB / 1.107 GB Notification: Performance of sort global known variables: time 2e-07/1.073, allocations: 0 / 1.391 GB, free: 212 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.001499/1.074, allocations: 335.3 kB / 1.391 GB, free: 15.88 MB / 1.123 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.001991/1.076, allocations: 0.5978 MB / 1.392 GB, free: 15.45 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002061/1.078, allocations: 0.8545 MB / 1.393 GB, free: 14.59 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/1.078, allocations: 0 / 1.393 GB, free: 14.59 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001043/1.079, allocations: 0.528 MB / 1.393 GB, free: 14.05 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/1.081, allocations: 320.9 kB / 1.394 GB, free: 13.76 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/1.084, allocations: 1.666 MB / 1.395 GB, free: 12.05 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000805/1.085, allocations: 1.032 MB / 1.396 GB, free: 11 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0009499/1.086, allocations: 262.9 kB / 1.397 GB, free: 10.73 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/1.087, allocations: 115.3 kB / 1.397 GB, free: 10.62 MB / 1.123 GB Notification: Performance of SimCode: time 1.162e-06/1.087, allocations: 4 kB / 1.397 GB, free: 10.62 MB / 1.123 GB Notification: Performance of Templates: time 0.02948/1.116, allocations: 16.19 MB / 1.413 GB, free: 10.59 MB / 1.139 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