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.001171/0.001171, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001155/0.001155, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.191/2.191, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001465, allocations: 62.28 kB / 0.8132 GB, free: 33.08 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2683, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.006653/0.275, allocations: 4.431 MB / 0.9546 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.688/0.963, allocations: 150.6 MB / 1.102 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008678/0.964, allocations: 16.34 kB / 1.102 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.9646, allocations: 175.3 kB / 1.102 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.9663, allocations: 0.5117 MB / 1.102 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.9685, allocations: 0.8415 MB / 1.103 GB, free: 4.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002166/0.9707, allocations: 1.329 MB / 1.104 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.9719, allocations: 0.6469 MB / 1.105 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.9729, allocations: 493.5 kB / 1.106 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009129/0.9739, allocations: 0.5 MB / 1.106 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.9741, allocations: 121.5 kB / 1.106 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.9753, allocations: 460.8 kB / 1.107 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003285/0.9757, allocations: 297.7 kB / 1.107 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008203/0.9765, allocations: 0.5572 MB / 1.107 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00282/0.9793, allocations: 1.586 MB / 1.109 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.9793, allocations: 1.094 kB / 1.109 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.465e-06/0.9793, allocations: 0 / 1.109 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.685e-05/0.9794, allocations: 1.125 kB / 1.109 GB, free: 4.555 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.00373/0.9831, allocations: 1.447 MB / 1.11 GB, free: 19.78 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 6.387e-05/0.9832, allocations: 9.469 kB / 1.11 GB, free: 19.78 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.9847, allocations: 232.3 kB / 1.111 GB, free: 19.72 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.9861, allocations: 0.7475 MB / 1.111 GB, free: 19.41 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.9862, allocations: 70.25 kB / 1.111 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.9863, allocations: 83.61 kB / 1.111 GB, free: 19.4 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.9882, allocations: 0.9828 MB / 1.112 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.9883, allocations: 3.375 kB / 1.112 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.763e-05/0.9884, allocations: 40.81 kB / 1.112 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.9884, allocations: 21.73 kB / 1.113 GB, free: 19.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.9906, allocations: 1.167 MB / 1.114 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005033/0.9956, allocations: 2.817 MB / 1.116 GB, free: 18.18 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.9975, allocations: 0.9379 MB / 1.117 GB, free: 18.05 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005284/0.9981, allocations: 304.9 kB / 1.118 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.016e-05/0.9982, allocations: 34.81 kB / 1.118 GB, free: 18.04 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008626/0.9991, allocations: 0.4945 MB / 1.118 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 2.495e-06/0.9991, allocations: 0 / 1.118 GB, free: 17.95 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.003342/1.002, allocations: 1.224 MB / 1.119 GB, free: 17.74 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/1.003, allocations: 195.5 kB / 1.12 GB, free: 17.52 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/1.004, allocations: 0.6378 MB / 1.12 GB, free: 17.39 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000132/1.004, allocations: 43.77 kB / 1.12 GB, free: 17.36 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/1.004, allocations: 410.2 kB / 1.121 GB, free: 17.16 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/1.004, allocations: 277.9 kB / 1.121 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002546/1.005, allocations: 169.3 kB / 1.121 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.005, allocations: 383 kB / 1.121 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005325/1.005, allocations: 276.7 kB / 1.122 GB, free: 16.66 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006658/1.006, allocations: 388.9 kB / 1.122 GB, free: 16.58 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/1.007, allocations: 0.638 MB / 1.123 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/1.007, allocations: 1.375 kB / 1.123 GB, free: 16.5 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002104/1.009, allocations: 0.8783 MB / 1.123 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/1.009, allocations: 7.266 kB / 1.123 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.009, allocations: 1.344 kB / 1.123 GB, free: 16.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005926/1.01, allocations: 86.5 kB / 1.124 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/1.011, allocations: 172.8 kB / 1.124 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002066/1.013, allocations: 1.63 MB / 1.125 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009296/1.014, allocations: 100.1 kB / 1.125 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.831e-05/1.014, allocations: 39.5 kB / 1.125 GB, free: 14.95 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.0005818/1.014, allocations: 274 kB / 1.126 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/1.014, allocations: 82.97 kB / 1.126 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/1.017, allocations: 1.091 MB / 1.127 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/1.017, allocations: 14.61 kB / 1.127 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.017, allocations: 2.156 kB / 1.127 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/1.017, allocations: 5.203 kB / 1.127 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003677/1.021, allocations: 2.099 MB / 1.129 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.021, allocations: 0 / 1.129 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/1.021, allocations: 149.5 kB / 1.129 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/1.022, allocations: 74.52 kB / 1.129 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.639e-05/1.022, allocations: 24.23 kB / 1.129 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/1.024, allocations: 1.661 MB / 1.131 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/1.024, allocations: 0 / 1.131 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/1.026, allocations: 1.006 MB / 1.132 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005342/1.027, allocations: 279 kB / 1.132 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/1.027, allocations: 27.41 kB / 1.132 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000675/1.027, allocations: 64.03 kB / 1.132 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/1.028, allocations: 71.91 kB / 1.132 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.191e-05/1.028, allocations: 35.48 kB / 1.132 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006129/1.028, allocations: 462.6 kB / 1.133 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.9e-07/1.028, allocations: 0 / 1.133 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001111/1.029, allocations: 323.2 kB / 1.133 GB, free: 12.29 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.001382/1.031, allocations: 0.601 MB / 1.134 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00253/1.033, allocations: 1.066 MB / 1.135 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.033, allocations: 0 / 1.135 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009481/1.034, allocations: 0.5189 MB / 1.135 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/1.036, allocations: 315.5 kB / 1.135 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/1.04, allocations: 1.845 MB / 1.137 GB, free: 11.05 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/1.041, allocations: 1.032 MB / 1.138 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/1.041, allocations: 116.6 kB / 1.138 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of SimCode: time 7.72e-07/1.041, allocations: 1.094 kB / 1.138 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of Templates: time 0.03102/1.072, allocations: 18.7 MB / 1.157 GB, free: 3.758 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