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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001023/0.001023, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 179.6 kB / 16.92 MB, free: 6.652 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.453/2.453, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003765, allocations: 11.94 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7491/0.7495, allocations: 142.4 MB / 0.9557 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.004383/0.7539, allocations: 4.034 MB / 0.9596 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1703/0.9243, allocations: 146.7 MB / 1.103 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009444/0.9253, allocations: 11.94 kB / 1.103 GB, free: 8.098 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.926, allocations: 138.9 kB / 1.103 GB, free: 7.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.9279, allocations: 448.5 kB / 1.103 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.9301, allocations: 0.7298 MB / 1.104 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001872/0.932, allocations: 1.241 MB / 1.105 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001201/0.9332, allocations: 0.6098 MB / 1.106 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008186/0.934, allocations: 354.2 kB / 1.106 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007582/0.9348, allocations: 394.5 kB / 1.107 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001964/0.935, allocations: 24 kB / 1.107 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.9361, allocations: 375.6 kB / 1.107 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000283/0.9364, allocations: 183.1 kB / 1.107 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000607/0.937, allocations: 474.7 kB / 1.108 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.9386, allocations: 1.169 MB / 1.109 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9386, allocations: 0 / 1.109 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.054e-06/0.9386, allocations: 0 / 1.109 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.566e-05/0.9387, allocations: 4 kB / 1.109 GB, free: 1.965 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.002876/0.9415, allocations: 1.228 MB / 1.11 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.9416, allocations: 12.03 kB / 1.11 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.9431, allocations: 251.2 kB / 1.11 GB, free: 440 kB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.9445, allocations: 0.7538 MB / 1.111 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-05/0.9446, allocations: 70 kB / 1.111 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.9448, allocations: 84 kB / 1.111 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/0.9468, allocations: 0.9834 MB / 1.112 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.9469, allocations: 3.984 kB / 1.112 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.947, allocations: 40 kB / 1.112 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.124e-05/0.947, allocations: 24 kB / 1.112 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002176/0.9492, allocations: 1.178 MB / 1.113 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005011/0.9542, allocations: 2.861 MB / 1.116 GB, free: 10.26 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/0.9562, allocations: 0.9602 MB / 1.117 GB, free: 9.273 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.9569, allocations: 310.7 kB / 1.117 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.447e-05/0.957, allocations: 32.61 kB / 1.117 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000959/0.9579, allocations: 0.508 MB / 1.118 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 3.106e-06/0.9579, allocations: 0 / 1.118 GB, free: 8.406 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.003428/0.9614, allocations: 1.243 MB / 1.119 GB, free: 7.133 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.9615, allocations: 192.9 kB / 1.119 GB, free: 6.902 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009974/0.9625, allocations: 0.6293 MB / 1.12 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.575e-05/0.9626, allocations: 41.7 kB / 1.12 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003811/0.963, allocations: 412.2 kB / 1.12 GB, free: 5.812 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.9633, allocations: 268.2 kB / 1.121 GB, free: 5.547 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.9634, allocations: 69.69 kB / 1.121 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002087/0.9636, allocations: 390.7 kB / 1.121 GB, free: 5.082 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/0.9642, allocations: 281.8 kB / 1.121 GB, free: 4.805 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006879/0.9649, allocations: 389.7 kB / 1.122 GB, free: 4.402 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001215/0.9661, allocations: 0.6463 MB / 1.122 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.9661, allocations: 0 / 1.122 GB, free: 3.738 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002176/0.9683, allocations: 0.8994 MB / 1.123 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.9684, allocations: 8 kB / 1.123 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.9684, allocations: 3.938 kB / 1.123 GB, free: 2.812 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000635/0.969, allocations: 84.86 kB / 1.123 GB, free: 2.727 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/0.9697, allocations: 171.7 kB / 1.123 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.9719, allocations: 1.518 MB / 1.125 GB, free: 0.9023 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000882/0.9728, allocations: 112.7 kB / 1.125 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.821e-05/0.9729, allocations: 40.03 kB / 1.125 GB, free: 0.7539 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.0005575/0.9735, allocations: 283.4 kB / 1.125 GB, free: 480 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/0.9737, allocations: 82.97 kB / 1.125 GB, free: 396 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/0.9764, allocations: 1.097 MB / 1.126 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.9764, allocations: 15.94 kB / 1.127 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.9764, allocations: 0 / 1.127 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.31e-05/0.9764, allocations: 3.984 kB / 1.127 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004027/0.9805, allocations: 2.106 MB / 1.129 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.9805, allocations: 0 / 1.129 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/0.9811, allocations: 151.7 kB / 1.129 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005339/0.9817, allocations: 88.77 kB / 1.129 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.191e-05/0.9818, allocations: 23.98 kB / 1.129 GB, free: 12.81 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002019/0.9838, allocations: 1.552 MB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9838, allocations: 0 / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.986, allocations: 1.02 MB / 1.131 GB, free: 10.08 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005127/0.9865, allocations: 287.6 kB / 1.132 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.9867, allocations: 23.98 kB / 1.132 GB, free: 9.758 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008048/0.9875, allocations: 75.94 kB / 1.132 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/0.9877, allocations: 76.83 kB / 1.132 GB, free: 9.609 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.166e-05/0.9878, allocations: 39.97 kB / 1.132 GB, free: 9.57 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006995/0.9885, allocations: 451 kB / 1.132 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9885, allocations: 0 / 1.132 GB, free: 9.137 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001022/0.9895, allocations: 327.2 kB / 1.133 GB, free: 8.816 MB / 0.8887 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.001527/0.9911, allocations: 0.5953 MB / 1.133 GB, free: 8.398 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001958/0.993, allocations: 0.8589 MB / 1.134 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.9931, allocations: 0 / 1.134 GB, free: 7.527 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.9941, allocations: 0.5314 MB / 1.134 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/0.9956, allocations: 282.4 kB / 1.135 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004608/1, allocations: 2.326 MB / 1.137 GB, free: 4.355 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006366/1.001, allocations: 1.028 MB / 1.138 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000354/1.001, allocations: 119.4 kB / 1.138 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of SimCode: time 6.21e-07/1.001, allocations: 0 / 1.138 GB, free: 3.18 MB / 0.8887 GB Notification: Performance of Templates: time 0.027/1.028, allocations: 18.59 MB / 1.156 GB, free: 0.6328 MB / 0.9044 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