Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.214/2.214, allocations: 390.5 MB / 398 MB, free: 11 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 190.8 kB / 491.2 MB, free: 1.602 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 91.94 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.334e-05/1.337e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3605, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.223/5.584, allocations: 1.731 GB / 2.943 GB, free: 134.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/5.584, allocations: 87.95 kB / 2.943 GB, free: 134.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1267/5.711, allocations: 57.4 MB / 2.999 GB, free: 76.43 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.396e-06/5.711, allocations: 0 / 2.999 GB, free: 76.43 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001571/5.711, allocations: 31.92 kB / 2.999 GB, free: 76.39 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.002671/5.714, allocations: 1.079 MB / 3 GB, free: 75.27 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/5.714, allocations: 8.031 kB / 3 GB, free: 75.26 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/5.715, allocations: 238.5 kB / 3 GB, free: 75.02 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/5.717, allocations: 0.6231 MB / 3.001 GB, free: 74.36 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/5.717, allocations: 24 kB / 3.001 GB, free: 74.34 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/5.717, allocations: 52 kB / 3.001 GB, free: 74.29 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001463/5.718, allocations: 0.9992 MB / 3.002 GB, free: 73.29 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/5.719, allocations: 0.7572 MB / 3.003 GB, free: 72.48 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/5.72, allocations: 3.953 kB / 3.003 GB, free: 72.48 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.886e-05/5.72, allocations: 0 / 3.003 GB, free: 72.48 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/5.72, allocations: 20 kB / 3.003 GB, free: 72.46 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/5.723, allocations: 2.568 MB / 3.005 GB, free: 69.83 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/5.724, allocations: 0.7622 MB / 3.006 GB, free: 69.04 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003083/5.725, allocations: 243.1 kB / 3.006 GB, free: 68.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.37e-05/5.725, allocations: 36.8 kB / 3.006 GB, free: 68.76 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000523/5.725, allocations: 391.7 kB / 3.007 GB, free: 68.36 MB / 1.151 GB Notification: Performance of pre-optimization done (n=74): time 2.806e-06/5.725, allocations: 0 / 3.007 GB, free: 68.36 MB / 1.151 GB Notification: Performance of matching and sorting (n=74): time 0.001489/5.727, allocations: 0.6446 MB / 3.007 GB, free: 67.71 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/5.727, allocations: 244.1 kB / 3.008 GB, free: 67.41 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006254/5.728, allocations: 0.4906 MB / 3.008 GB, free: 66.92 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.956e-05/5.728, allocations: 33.7 kB / 3.008 GB, free: 66.88 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/5.728, allocations: 392 kB / 3.008 GB, free: 66.49 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/5.728, allocations: 236.4 kB / 3.009 GB, free: 66.25 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/5.728, allocations: 0 / 3.009 GB, free: 66.25 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.43e-05/5.728, allocations: 378.7 kB / 3.009 GB, free: 65.88 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/5.729, allocations: 189.5 kB / 3.009 GB, free: 65.69 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/5.729, allocations: 306.1 kB / 3.009 GB, free: 65.35 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/5.729, allocations: 248.4 kB / 3.01 GB, free: 65.11 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/5.729, allocations: 4 kB / 3.01 GB, free: 65.11 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001369/5.731, allocations: 0.6526 MB / 3.01 GB, free: 64.44 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/5.731, allocations: 12 kB / 3.01 GB, free: 64.43 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/5.731, allocations: 0 / 3.01 GB, free: 64.43 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/5.731, allocations: 80.77 kB / 3.01 GB, free: 64.35 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/5.732, allocations: 151.8 kB / 3.011 GB, free: 64.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/5.733, allocations: 1.449 MB / 3.012 GB, free: 62.62 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005923/5.734, allocations: 67.59 kB / 3.012 GB, free: 62.56 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.497e-05/5.734, allocations: 27.97 kB / 3.012 GB, free: 62.53 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001572/5.734, allocations: 125.8 kB / 3.012 GB, free: 62.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/5.734, allocations: 75.06 kB / 3.012 GB, free: 62.33 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/5.736, allocations: 0.8956 MB / 3.013 GB, free: 61.41 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/5.736, allocations: 19.95 kB / 3.013 GB, free: 61.39 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/5.736, allocations: 0 / 3.013 GB, free: 61.39 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/5.736, allocations: 3.984 kB / 3.013 GB, free: 61.39 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/5.739, allocations: 1.757 MB / 3.015 GB, free: 59.57 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/5.739, allocations: 4 kB / 3.015 GB, free: 59.57 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005224/5.739, allocations: 147.8 kB / 3.015 GB, free: 59.43 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004949/5.74, allocations: 84.77 kB / 3.015 GB, free: 59.34 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-05/5.74, allocations: 11.98 kB / 3.015 GB, free: 59.33 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/5.741, allocations: 1.473 MB / 3.017 GB, free: 57.74 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/5.741, allocations: 8.047 kB / 3.017 GB, free: 57.73 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001304/5.743, allocations: 0.8181 MB / 3.017 GB, free: 56.89 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/5.743, allocations: 279.8 kB / 3.018 GB, free: 56.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/5.743, allocations: 0 / 3.018 GB, free: 56.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/5.744, allocations: 59.88 kB / 3.018 GB, free: 56.54 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/5.744, allocations: 60.69 kB / 3.018 GB, free: 56.48 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.338e-05/5.744, allocations: 31.98 kB / 3.018 GB, free: 56.45 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004551/5.744, allocations: 406.9 kB / 3.018 GB, free: 56.05 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.744, allocations: 0 / 3.018 GB, free: 56.05 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001144/5.745, allocations: 339 kB / 3.019 GB, free: 55.72 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00188/5.747, allocations: 1.076 MB / 3.02 GB, free: 54.75 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001138/5.748, allocations: 0.6434 MB / 3.02 GB, free: 54.09 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/5.749, allocations: 0 / 3.02 GB, free: 54.09 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006039/5.749, allocations: 452.8 kB / 3.021 GB, free: 53.64 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/5.75, allocations: 235.5 kB / 3.021 GB, free: 53.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003356/5.754, allocations: 1.289 MB / 3.022 GB, free: 52.09 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004976/5.754, allocations: 1.027 MB / 3.023 GB, free: 51.04 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008518/5.755, allocations: 257.9 kB / 3.023 GB, free: 50.79 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/5.755, allocations: 95.39 kB / 3.023 GB, free: 50.7 MB / 1.151 GB Notification: Performance of SimCode: time 8.92e-07/5.755, allocations: 0 / 3.023 GB, free: 50.7 MB / 1.151 GB Notification: Performance of Templates: time 0.02557/5.781, allocations: 15.92 MB / 3.039 GB, free: 34.89 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.sim & ./Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches