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/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.194/2.194, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.00101/0.001011, allocations: 172 kB / 492.3 MB, free: 0.6445 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.702/1.702, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0009401/0.0009402, allocations: 97.69 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.452e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3358, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.121/5.456, allocations: 1.73 GB / 2.943 GB, free: 120 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/5.457, allocations: 83.45 kB / 2.943 GB, free: 119.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1236/5.58, allocations: 58.24 MB / 3 GB, free: 67.57 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.094e-06/5.58, allocations: 4 kB / 3 GB, free: 67.57 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.724e-05/5.58, allocations: 20 kB / 3 GB, free: 67.55 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.00174/5.582, allocations: 1.091 MB / 3.001 GB, free: 66.41 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/5.582, allocations: 8.031 kB / 3.001 GB, free: 66.41 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/5.583, allocations: 242.5 kB / 3.001 GB, free: 66.17 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00091/5.584, allocations: 0.6115 MB / 3.002 GB, free: 65.51 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/5.584, allocations: 62 kB / 3.002 GB, free: 65.45 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.773e-05/5.584, allocations: 79.94 kB / 3.002 GB, free: 65.37 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/5.586, allocations: 0.882 MB / 3.003 GB, free: 64.44 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/5.586, allocations: 0 / 3.003 GB, free: 64.44 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.277e-05/5.586, allocations: 43.94 kB / 3.003 GB, free: 64.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/5.586, allocations: 23.95 kB / 3.003 GB, free: 64.38 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/5.587, allocations: 1.05 MB / 3.004 GB, free: 63.32 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/5.59, allocations: 2.711 MB / 3.006 GB, free: 60.54 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/5.591, allocations: 0.802 MB / 3.007 GB, free: 59.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/5.592, allocations: 267.2 kB / 3.008 GB, free: 59.44 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.359e-05/5.592, allocations: 36.8 kB / 3.008 GB, free: 59.41 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005924/5.592, allocations: 413.2 kB / 3.008 GB, free: 58.98 MB / 1.151 GB Notification: Performance of pre-optimization done (n=74): time 2.104e-06/5.592, allocations: 0 / 3.008 GB, free: 58.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=74): time 0.001455/5.594, allocations: 0.6953 MB / 3.009 GB, free: 58.27 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.946e-05/5.594, allocations: 240.1 kB / 3.009 GB, free: 57.98 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006231/5.595, allocations: 0.5777 MB / 3.009 GB, free: 57.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.509e-05/5.595, allocations: 45.7 kB / 3.009 GB, free: 57.35 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/5.595, allocations: 384.2 kB / 3.01 GB, free: 56.96 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/5.595, allocations: 252.4 kB / 3.01 GB, free: 56.71 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/5.595, allocations: 12 kB / 3.01 GB, free: 56.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.697e-05/5.595, allocations: 386.7 kB / 3.01 GB, free: 56.32 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/5.595, allocations: 197.5 kB / 3.011 GB, free: 56.12 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000348/5.596, allocations: 327.7 kB / 3.011 GB, free: 55.76 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/5.596, allocations: 254 kB / 3.011 GB, free: 55.52 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/5.596, allocations: 0 / 3.011 GB, free: 55.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001332/5.597, allocations: 0.7032 MB / 3.012 GB, free: 54.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/5.597, allocations: 8 kB / 3.012 GB, free: 54.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/5.597, allocations: 4.156 kB / 3.012 GB, free: 54.79 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00055/5.598, allocations: 80.77 kB / 3.012 GB, free: 54.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/5.599, allocations: 155.8 kB / 3.012 GB, free: 54.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/5.6, allocations: 1.513 MB / 3.014 GB, free: 52.91 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/5.601, allocations: 91.36 kB / 3.014 GB, free: 52.82 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/5.601, allocations: 31.97 kB / 3.014 GB, free: 52.79 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.0001453/5.601, allocations: 143.1 kB / 3.014 GB, free: 52.64 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/5.601, allocations: 79.06 kB / 3.014 GB, free: 52.56 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/5.603, allocations: 0.966 MB / 3.015 GB, free: 51.58 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/5.603, allocations: 12 kB / 3.015 GB, free: 51.57 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/5.603, allocations: 0 / 3.015 GB, free: 51.57 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/5.603, allocations: 3.984 kB / 3.015 GB, free: 51.56 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00257/5.606, allocations: 1.932 MB / 3.017 GB, free: 49.56 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/5.606, allocations: 4 kB / 3.017 GB, free: 49.55 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/5.606, allocations: 143.8 kB / 3.017 GB, free: 49.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/5.607, allocations: 84.77 kB / 3.017 GB, free: 49.33 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/5.607, allocations: 23.98 kB / 3.017 GB, free: 49.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/5.608, allocations: 1.54 MB / 3.019 GB, free: 47.62 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/5.608, allocations: 0 / 3.019 GB, free: 47.62 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/5.609, allocations: 0.8728 MB / 3.019 GB, free: 46.73 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003409/5.61, allocations: 283.7 kB / 3.02 GB, free: 46.43 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.724e-05/5.61, allocations: 19.95 kB / 3.02 GB, free: 46.41 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005529/5.61, allocations: 67.94 kB / 3.02 GB, free: 46.34 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/5.611, allocations: 68.62 kB / 3.02 GB, free: 46.28 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.238e-05/5.611, allocations: 27.98 kB / 3.02 GB, free: 46.25 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004887/5.611, allocations: 483.1 kB / 3.02 GB, free: 45.78 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/5.611, allocations: 0 / 3.02 GB, free: 45.78 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009684/5.612, allocations: 355.2 kB / 3.021 GB, free: 45.43 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.001592/5.614, allocations: 1.03 MB / 3.022 GB, free: 44.55 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001117/5.615, allocations: 0.7059 MB / 3.022 GB, free: 43.84 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/5.615, allocations: 0 / 3.022 GB, free: 43.84 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006179/5.616, allocations: 466.9 kB / 3.023 GB, free: 43.37 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/5.617, allocations: 259.3 kB / 3.023 GB, free: 43.12 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/5.62, allocations: 1.332 MB / 3.024 GB, free: 41.77 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/5.62, allocations: 1.023 MB / 3.025 GB, free: 40.71 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008085/5.621, allocations: 254.1 kB / 3.026 GB, free: 40.46 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/5.621, allocations: 99.39 kB / 3.026 GB, free: 40.36 MB / 1.151 GB Notification: Performance of SimCode: time 3.01e-07/5.621, allocations: 0 / 3.026 GB, free: 40.36 MB / 1.151 GB Notification: Performance of Templates: time 0.02959/5.651, allocations: 22.37 MB / 3.047 GB, free: 18.09 MB / 1.151 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","../files/Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches