Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001337/0.001337, allocations: 103.6 kB / 15.98 MB, free: 6.355 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.001324/0.001324, allocations: 195.1 kB / 16.91 MB, free: 6.191 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.316/1.316, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.196/2.196, allocations: 390.2 MB / 0.665 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 65.53 kB / 0.8127 GB, free: 32.48 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2704, allocations: 140.4 MB / 0.9498 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006886/0.2773, allocations: 4.457 MB / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.7043/0.9816, allocations: 148.4 MB / 1.099 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.9829, allocations: 17.72 kB / 1.099 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007597/0.9838, allocations: 137.3 kB / 1.099 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.9861, allocations: 462.1 kB / 1.1 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.9886, allocations: 0.7444 MB / 1.1 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002336/0.9909, allocations: 1.343 MB / 1.102 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.9921, allocations: 0.6475 MB / 1.102 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001133/0.9932, allocations: 492.2 kB / 1.103 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007698/0.994, allocations: 0.5056 MB / 1.103 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002077/0.9942, allocations: 117.4 kB / 1.103 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.9955, allocations: 457.9 kB / 1.104 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003647/0.9959, allocations: 304.3 kB / 1.104 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0007153/0.9966, allocations: 0.5576 MB / 1.105 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001983/0.9986, allocations: 1.214 MB / 1.106 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9986, allocations: 0 / 1.106 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.053e-06/0.9986, allocations: 0.6875 kB / 1.106 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.1e-05/0.9986, allocations: 0 / 1.106 GB, free: 5.016 MB / 0.8575 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.003194/1.002, allocations: 1.441 MB / 1.107 GB, free: 20.25 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.002, allocations: 13.94 kB / 1.107 GB, free: 20.24 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/1.003, allocations: 227.7 kB / 1.107 GB, free: 20.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/1.005, allocations: 0.7572 MB / 1.108 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.689e-05/1.005, allocations: 64.88 kB / 1.108 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/1.005, allocations: 85.31 kB / 1.108 GB, free: 19.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/1.007, allocations: 0.9788 MB / 1.109 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/1.007, allocations: 1.297 kB / 1.109 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.475e-05/1.007, allocations: 40.73 kB / 1.109 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/1.007, allocations: 21.56 kB / 1.109 GB, free: 19.66 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/1.009, allocations: 1.166 MB / 1.11 GB, free: 19.64 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004805/1.014, allocations: 2.827 MB / 1.113 GB, free: 18.56 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/1.016, allocations: 0.9413 MB / 1.114 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005774/1.017, allocations: 305.5 kB / 1.114 GB, free: 18.41 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-05/1.017, allocations: 32.92 kB / 1.114 GB, free: 18.4 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009636/1.018, allocations: 0.4994 MB / 1.115 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 2.665e-06/1.018, allocations: 3.938 kB / 1.115 GB, free: 18.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.003405/1.021, allocations: 1.222 MB / 1.116 GB, free: 18.11 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/1.021, allocations: 194.1 kB / 1.116 GB, free: 17.88 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009253/1.022, allocations: 0.6369 MB / 1.117 GB, free: 17.75 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.176e-05/1.022, allocations: 44.67 kB / 1.117 GB, free: 17.72 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000303/1.023, allocations: 406.9 kB / 1.117 GB, free: 17.53 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/1.023, allocations: 274.4 kB / 1.118 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/1.023, allocations: 180 kB / 1.118 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001691/1.023, allocations: 382.6 kB / 1.118 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/1.024, allocations: 276 kB / 1.118 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006385/1.025, allocations: 386.1 kB / 1.119 GB, free: 16.94 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/1.026, allocations: 0.6382 MB / 1.119 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.026, allocations: 0 / 1.119 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002207/1.028, allocations: 0.882 MB / 1.12 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/1.028, allocations: 6.469 kB / 1.12 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/1.028, allocations: 1.156 kB / 1.12 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/1.029, allocations: 84.17 kB / 1.12 GB, free: 16.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/1.029, allocations: 174.8 kB / 1.121 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002236/1.032, allocations: 1.625 MB / 1.122 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008651/1.032, allocations: 108.2 kB / 1.122 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-05/1.033, allocations: 42.62 kB / 1.122 GB, free: 15.27 MB / 0.8731 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.0005457/1.033, allocations: 269.7 kB / 1.123 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001732/1.033, allocations: 83.97 kB / 1.123 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/1.036, allocations: 1.088 MB / 1.124 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.091e-05/1.036, allocations: 13.5 kB / 1.124 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/1.036, allocations: 0 / 1.124 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/1.036, allocations: 10.23 kB / 1.124 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003726/1.04, allocations: 2.088 MB / 1.126 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.04, allocations: 0 / 1.126 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000624/1.04, allocations: 151.8 kB / 1.126 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004696/1.041, allocations: 73.83 kB / 1.126 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/1.041, allocations: 27.14 kB / 1.126 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001896/1.043, allocations: 1.662 MB / 1.128 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.043, allocations: 1.375 kB / 1.128 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/1.045, allocations: 1.007 MB / 1.129 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/1.045, allocations: 276.9 kB / 1.129 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/1.045, allocations: 18.81 kB / 1.129 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007143/1.046, allocations: 69.09 kB / 1.129 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001889/1.046, allocations: 73 kB / 1.129 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.594e-05/1.046, allocations: 40.23 kB / 1.129 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006373/1.047, allocations: 460 kB / 1.129 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.047, allocations: 1.5 kB / 1.129 GB, free: 12.63 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001214/1.048, allocations: 315.5 kB / 1.13 GB, free: 12.58 MB / 0.8731 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.001488/1.05, allocations: 0.6141 MB / 1.13 GB, free: 12.35 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002691/1.053, allocations: 1.059 MB / 1.131 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/1.053, allocations: 3.625 kB / 1.131 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000978/1.054, allocations: 0.5199 MB / 1.132 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/1.055, allocations: 310.1 kB / 1.132 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004336/1.059, allocations: 2.26 MB / 1.134 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/1.06, allocations: 1.029 MB / 1.135 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/1.06, allocations: 120.3 kB / 1.136 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of SimCode: time 6.21e-07/1.06, allocations: 1.203 kB / 1.136 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of Templates: time 0.03092/1.091, allocations: 18.7 MB / 1.154 GB, free: 4.375 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches