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.001224/0.001224, allocations: 101.9 kB / 16.4 MB, free: 6.379 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.001185/0.001185, allocations: 187 kB / 17.33 MB, free: 5.844 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.212/1.212, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.243/2.243, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.91 kB / 1.019 GB, free: 9.449 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.631/0.6322, allocations: 151.6 MB / 1.167 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005627/0.6379, allocations: 4.944 MB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.1332/0.7711, allocations: 150.6 MB / 1.319 GB, free: 7.809 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006613/0.7718, allocations: 19.88 kB / 1.319 GB, free: 7.789 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0005127/0.7723, allocations: 194.2 kB / 1.319 GB, free: 7.598 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.7737, allocations: 0.5589 MB / 1.32 GB, free: 7.039 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.7754, allocations: 0.846 MB / 1.321 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001142/0.7765, allocations: 1.432 MB / 1.322 GB, free: 4.762 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007203/0.7773, allocations: 0.5999 MB / 1.323 GB, free: 4.137 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005395/0.7778, allocations: 0.4983 MB / 1.323 GB, free: 3.637 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004865/0.7783, allocations: 0.5134 MB / 1.324 GB, free: 3.121 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.7785, allocations: 120 kB / 1.324 GB, free: 3.004 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007298/0.7792, allocations: 491.5 kB / 1.324 GB, free: 2.523 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0002167/0.7794, allocations: 299 kB / 1.325 GB, free: 2.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003997/0.7798, allocations: 0.5791 MB / 1.325 GB, free: 1.648 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.7814, allocations: 1.665 MB / 1.327 GB, free: 15.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.7814, allocations: 0 / 1.327 GB, free: 15.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7814, allocations: 4 kB / 1.327 GB, free: 15.97 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.7814, allocations: 0 / 1.327 GB, free: 15.97 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.00227/0.7837, allocations: 1.491 MB / 1.328 GB, free: 14.43 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.7837, allocations: 8.031 kB / 1.328 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.7849, allocations: 240 kB / 1.328 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.786, allocations: 0.774 MB / 1.329 GB, free: 13.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.232e-05/0.786, allocations: 69.98 kB / 1.329 GB, free: 13.3 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.7861, allocations: 84 kB / 1.329 GB, free: 13.22 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.7877, allocations: 0.9794 MB / 1.33 GB, free: 12.19 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/0.7877, allocations: 4 kB / 1.33 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.339e-05/0.7878, allocations: 47.92 kB / 1.33 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.7878, allocations: 20 kB / 1.33 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.7896, allocations: 1.159 MB / 1.332 GB, free: 10.96 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.003771/0.7934, allocations: 3.022 MB / 1.335 GB, free: 7.805 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.795, allocations: 0.9446 MB / 1.335 GB, free: 6.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.7955, allocations: 315.7 kB / 1.336 GB, free: 6.531 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.049e-05/0.7956, allocations: 36.59 kB / 1.336 GB, free: 6.496 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007726/0.7964, allocations: 0.494 MB / 1.336 GB, free: 5.988 MB / 1.061 GB Notification: Performance of pre-optimization done (n=83): time 2.465e-06/0.7964, allocations: 0 / 1.336 GB, free: 5.988 MB / 1.061 GB Notification: Performance of matching and sorting (n=83): time 0.002915/0.7993, allocations: 1.236 MB / 1.337 GB, free: 4.727 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.412e-05/0.7994, allocations: 192.9 kB / 1.338 GB, free: 4.492 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/0.8001, allocations: 0.6371 MB / 1.338 GB, free: 3.848 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/0.8002, allocations: 41.7 kB / 1.338 GB, free: 3.801 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.8004, allocations: 417 kB / 1.339 GB, free: 3.387 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/0.8006, allocations: 285.6 kB / 1.339 GB, free: 3.105 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.8008, allocations: 174.5 kB / 1.339 GB, free: 2.93 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.801, allocations: 386.8 kB / 1.34 GB, free: 2.543 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004828/0.8015, allocations: 273.8 kB / 1.34 GB, free: 2.277 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.8021, allocations: 397.6 kB / 1.34 GB, free: 1.863 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.8031, allocations: 0.6384 MB / 1.341 GB, free: 1.207 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8031, allocations: 4 kB / 1.341 GB, free: 1.203 MB / 1.061 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001839/0.805, allocations: 0.8882 MB / 1.342 GB, free: 308 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.805, allocations: 12.12 kB / 1.342 GB, free: 296 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.805, allocations: 4 kB / 1.342 GB, free: 292 kB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000546/0.8056, allocations: 80.77 kB / 1.342 GB, free: 208 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/0.8062, allocations: 171.8 kB / 1.342 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.8081, allocations: 1.639 MB / 1.343 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007027/0.8088, allocations: 103.5 kB / 1.344 GB, free: 14.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/0.8089, allocations: 35.97 kB / 1.344 GB, free: 14.11 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: 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.0004/0.8093, allocations: 274.4 kB / 1.344 GB, free: 13.84 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.8094, allocations: 87.44 kB / 1.344 GB, free: 13.75 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/0.8116, allocations: 1.093 MB / 1.345 GB, free: 12.64 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.8116, allocations: 8.047 kB / 1.345 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.8116, allocations: 3.984 kB / 1.345 GB, free: 12.63 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.8116, allocations: 7.922 kB / 1.345 GB, free: 12.62 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003125/0.8148, allocations: 2.088 MB / 1.347 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.8148, allocations: 4 kB / 1.347 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005536/0.8153, allocations: 151.7 kB / 1.347 GB, free: 10.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004113/0.8158, allocations: 76.78 kB / 1.347 GB, free: 10.24 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.8158, allocations: 23.98 kB / 1.347 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001799/0.8176, allocations: 1.658 MB / 1.349 GB, free: 8.41 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.8176, allocations: 4.062 kB / 1.349 GB, free: 8.406 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002014/0.8197, allocations: 1.014 MB / 1.35 GB, free: 7.371 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003834/0.8201, allocations: 276.2 kB / 1.35 GB, free: 7.082 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/0.8202, allocations: 24 kB / 1.35 GB, free: 7.059 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/0.8208, allocations: 59.94 kB / 1.35 GB, free: 7 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.821, allocations: 76.83 kB / 1.35 GB, free: 6.926 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.821, allocations: 35.98 kB / 1.35 GB, free: 6.891 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005342/0.8216, allocations: 459 kB / 1.351 GB, free: 6.445 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8216, allocations: 0 / 1.351 GB, free: 6.445 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009129/0.8225, allocations: 343.1 kB / 1.351 GB, free: 6.109 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.001391/0.8239, allocations: 0.6069 MB / 1.352 GB, free: 5.66 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001534/0.8255, allocations: 0.8511 MB / 1.353 GB, free: 4.797 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.8255, allocations: 4 kB / 1.353 GB, free: 4.793 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008404/0.8263, allocations: 0.5275 MB / 1.353 GB, free: 4.254 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.8275, allocations: 314.5 kB / 1.353 GB, free: 3.969 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/0.8301, allocations: 1.743 MB / 1.355 GB, free: 2.191 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.8306, allocations: 1.027 MB / 1.356 GB, free: 1.137 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/0.8309, allocations: 123.4 kB / 1.356 GB, free: 1.016 MB / 1.076 GB Notification: Performance of SimCode: time 4.91e-07/0.8309, allocations: 0 / 1.356 GB, free: 1.016 MB / 1.076 GB Notification: Performance of Templates: time 0.02109/0.852, allocations: 18.97 MB / 1.375 GB, free: 14.06 MB / 1.107 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches