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.001385/0.001385, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001223/0.001223, allocations: 189.2 kB / 16.25 MB, free: 6.633 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.452/1.452, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.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.389/2.389, allocations: 390.2 MB / 0.6643 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6746/0.676, allocations: 140.4 MB / 0.9491 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody): time 0.005885/0.6819, allocations: 4.443 MB / 0.9534 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1635/0.8454, allocations: 148.4 MB / 1.098 GB, free: 8.688 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008003/0.8463, allocations: 23.81 kB / 1.098 GB, free: 8.664 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005442/0.8468, allocations: 138.9 kB / 1.098 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001501/0.8484, allocations: 459.5 kB / 1.099 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001751/0.8501, allocations: 0.7584 MB / 1.1 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001217/0.8513, allocations: 1.331 MB / 1.101 GB, free: 5.992 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008168/0.8522, allocations: 0.6414 MB / 1.102 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005647/0.8527, allocations: 494.2 kB / 1.102 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005316/0.8533, allocations: 0.5061 MB / 1.103 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.8534, allocations: 116 kB / 1.103 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007534/0.8542, allocations: 463.6 kB / 1.103 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002418/0.8544, allocations: 303 kB / 1.103 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004458/0.8549, allocations: 0.5518 MB / 1.104 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.8566, allocations: 1.593 MB / 1.105 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.8566, allocations: 0 / 1.105 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8566, allocations: 3.938 kB / 1.105 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.8566, allocations: 0 / 1.105 GB, free: 1.312 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.002501/0.8591, allocations: 1.443 MB / 1.107 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.8592, allocations: 8.031 kB / 1.107 GB, free: 15.81 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.8604, allocations: 231.3 kB / 1.107 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001019/0.8614, allocations: 0.7576 MB / 1.108 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.8615, allocations: 69.98 kB / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.8616, allocations: 84 kB / 1.108 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00174/0.8634, allocations: 0.9794 MB / 1.109 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.8634, allocations: 3.938 kB / 1.109 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.154e-05/0.8635, allocations: 47.92 kB / 1.109 GB, free: 13.55 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/0.8635, allocations: 20 kB / 1.109 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.8655, allocations: 1.163 MB / 1.11 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005089/0.8706, allocations: 2.813 MB / 1.113 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.8726, allocations: 0.9446 MB / 1.114 GB, free: 8.504 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000567/0.8732, allocations: 310.7 kB / 1.114 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.64e-05/0.8734, allocations: 28.61 kB / 1.114 GB, free: 8.164 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.8744, allocations: 0.5003 MB / 1.115 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=83): time 3.286e-06/0.8744, allocations: 0 / 1.115 GB, free: 7.648 MB / 0.8731 GB Notification: Performance of matching and sorting (n=83): time 0.00332/0.8778, allocations: 1.231 MB / 1.116 GB, free: 6.387 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.8779, allocations: 192.9 kB / 1.116 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009203/0.8788, allocations: 0.6293 MB / 1.117 GB, free: 5.52 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.433e-05/0.8789, allocations: 41.7 kB / 1.117 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.8793, allocations: 412.3 kB / 1.117 GB, free: 5.062 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.8795, allocations: 272.1 kB / 1.117 GB, free: 4.793 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002557/0.8798, allocations: 166.5 kB / 1.117 GB, free: 4.625 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.88, allocations: 390.8 kB / 1.118 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005186/0.8805, allocations: 273.8 kB / 1.118 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/0.8811, allocations: 385.7 kB / 1.119 GB, free: 3.566 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.8822, allocations: 0.6384 MB / 1.119 GB, free: 2.906 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.8822, allocations: 7.938 kB / 1.119 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001917/0.8841, allocations: 0.8838 MB / 1.12 GB, free: 2.004 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.8842, allocations: 4 kB / 1.12 GB, free: 2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.8842, allocations: 4 kB / 1.12 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.8849, allocations: 80.91 kB / 1.12 GB, free: 1.914 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/0.8856, allocations: 171.8 kB / 1.12 GB, free: 1.746 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/0.8878, allocations: 1.638 MB / 1.122 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007775/0.8886, allocations: 99.23 kB / 1.122 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.541e-05/0.8887, allocations: 39.97 kB / 1.122 GB, free: 15.82 MB / 0.8887 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.0004643/0.8892, allocations: 267.4 kB / 1.122 GB, free: 15.55 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.8893, allocations: 86.95 kB / 1.122 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00238/0.8917, allocations: 1.089 MB / 1.123 GB, free: 14.37 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.8918, allocations: 11.98 kB / 1.123 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.8918, allocations: 0 / 1.123 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.8918, allocations: 7.984 kB / 1.123 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/0.8952, allocations: 2.09 MB / 1.125 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.8952, allocations: 0 / 1.125 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005812/0.8958, allocations: 147.8 kB / 1.126 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004325/0.8963, allocations: 76.72 kB / 1.126 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.152e-05/0.8964, allocations: 27.98 kB / 1.126 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001835/0.8982, allocations: 1.658 MB / 1.127 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.8982, allocations: 0 / 1.127 GB, free: 10.13 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.9003, allocations: 1.008 MB / 1.128 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/0.9007, allocations: 275.7 kB / 1.129 GB, free: 8.812 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.9009, allocations: 16.06 kB / 1.129 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006744/0.9015, allocations: 77.75 kB / 1.129 GB, free: 8.723 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/0.9017, allocations: 68.84 kB / 1.129 GB, free: 8.652 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.342e-05/0.9018, allocations: 39.97 kB / 1.129 GB, free: 8.613 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006058/0.9024, allocations: 459 kB / 1.129 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.643e-06/0.9024, allocations: 0 / 1.129 GB, free: 8.168 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009596/0.9034, allocations: 323.1 kB / 1.129 GB, free: 7.852 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.00141/0.9048, allocations: 0.6082 MB / 1.13 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002505/0.9073, allocations: 1.062 MB / 1.131 GB, free: 6.348 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.9074, allocations: 4 kB / 1.131 GB, free: 6.344 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009652/0.9083, allocations: 0.5236 MB / 1.132 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001383/0.9097, allocations: 313.2 kB / 1.132 GB, free: 5.531 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004113/0.9138, allocations: 2.211 MB / 1.134 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000575/0.9144, allocations: 1.027 MB / 1.135 GB, free: 2.234 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000923/0.9154, allocations: 270.8 kB / 1.135 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002666/0.9156, allocations: 111.4 kB / 1.135 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of SimCode: time 8.22e-07/0.9157, allocations: 3.938 kB / 1.135 GB, free: 1.852 MB / 0.8887 GB Notification: Performance of Templates: time 0.02532/0.941, allocations: 15.22 MB / 1.15 GB, free: 2.789 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches