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: "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001357/0.001357, allocations: 180.8 kB / 487.4 MB, free: 5.07 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.731/1.731, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009273/0.0009272, allocations: 99.58 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.841e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2845, allocations: 142.4 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.205/4.49, allocations: 1.73 GB / 2.936 GB, free: 127.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/4.49, allocations: 87.62 kB / 2.936 GB, free: 127.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1131/4.603, allocations: 57.4 MB / 2.992 GB, free: 76.38 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.463e-06/4.603, allocations: 0 / 2.992 GB, free: 76.38 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.893e-05/4.603, allocations: 27.94 kB / 2.992 GB, free: 76.36 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.001406/4.605, allocations: 1.083 MB / 2.993 GB, free: 75.22 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/4.605, allocations: 12.03 kB / 2.993 GB, free: 75.21 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/4.606, allocations: 242.5 kB / 2.993 GB, free: 74.97 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007242/4.607, allocations: 0.6192 MB / 2.994 GB, free: 74.32 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.897e-05/4.607, allocations: 28 kB / 2.994 GB, free: 74.29 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-05/4.607, allocations: 44 kB / 2.994 GB, free: 74.25 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001102/4.608, allocations: 1.007 MB / 2.995 GB, free: 73.24 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009595/4.609, allocations: 0.7534 MB / 2.996 GB, free: 72.43 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/4.609, allocations: 0 / 2.996 GB, free: 72.43 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/4.609, allocations: 11.94 kB / 2.996 GB, free: 72.42 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/4.609, allocations: 20 kB / 2.996 GB, free: 72.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002694/4.612, allocations: 2.556 MB / 2.998 GB, free: 69.78 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008675/4.612, allocations: 0.7562 MB / 2.999 GB, free: 69 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002712/4.613, allocations: 243.4 kB / 2.999 GB, free: 68.75 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-05/4.613, allocations: 36.8 kB / 2.999 GB, free: 68.72 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004909/4.613, allocations: 395.7 kB / 3 GB, free: 68.31 MB / 1.151 GB Notification: Performance of pre-optimization done (n=74): time 1.973e-06/4.613, allocations: 0 / 3 GB, free: 68.31 MB / 1.151 GB Notification: Performance of matching and sorting (n=74): time 0.001268/4.615, allocations: 0.6524 MB / 3 GB, free: 67.65 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/4.615, allocations: 240.1 kB / 3 GB, free: 67.36 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/4.615, allocations: 0.4906 MB / 3.001 GB, free: 66.86 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/4.615, allocations: 29.64 kB / 3.001 GB, free: 66.83 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/4.615, allocations: 404 kB / 3.001 GB, free: 66.43 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/4.615, allocations: 236.4 kB / 3.002 GB, free: 66.19 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/4.615, allocations: 0 / 3.002 GB, free: 66.19 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.355e-05/4.616, allocations: 374.8 kB / 3.002 GB, free: 65.82 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002314/4.616, allocations: 185.5 kB / 3.002 GB, free: 65.64 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/4.616, allocations: 310.1 kB / 3.002 GB, free: 65.29 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/4.616, allocations: 240.4 kB / 3.003 GB, free: 65.06 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/4.616, allocations: 4 kB / 3.003 GB, free: 65.06 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001172/4.618, allocations: 0.6602 MB / 3.003 GB, free: 64.39 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/4.618, allocations: 8.156 kB / 3.003 GB, free: 64.38 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/4.618, allocations: 4 kB / 3.003 GB, free: 64.38 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005374/4.618, allocations: 84.78 kB / 3.003 GB, free: 64.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/4.619, allocations: 143.8 kB / 3.004 GB, free: 64.15 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/4.62, allocations: 1.458 MB / 3.005 GB, free: 62.56 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/4.621, allocations: 63.56 kB / 3.005 GB, free: 62.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.74e-05/4.621, allocations: 31.97 kB / 3.005 GB, free: 62.46 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.0001252/4.621, allocations: 122.8 kB / 3.005 GB, free: 62.34 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001152/4.622, allocations: 0.6524 MB / 3.006 GB, free: 61.68 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.018e-05/4.622, allocations: 71.16 kB / 3.006 GB, free: 61.61 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/4.624, allocations: 0.8993 MB / 3.007 GB, free: 60.69 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/4.624, allocations: 8 kB / 3.007 GB, free: 60.68 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/4.624, allocations: 3.938 kB / 3.007 GB, free: 60.68 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/4.624, allocations: 3.984 kB / 3.007 GB, free: 60.68 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/4.626, allocations: 1.757 MB / 3.009 GB, free: 58.86 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/4.626, allocations: 0 / 3.009 GB, free: 58.86 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/4.626, allocations: 147.8 kB / 3.009 GB, free: 58.71 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/4.627, allocations: 80.78 kB / 3.009 GB, free: 58.63 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/4.627, allocations: 15.98 kB / 3.009 GB, free: 58.62 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/4.628, allocations: 1.484 MB / 3.01 GB, free: 57.02 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/4.628, allocations: 3.953 kB / 3.01 GB, free: 57.01 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/4.629, allocations: 0.8183 MB / 3.011 GB, free: 56.17 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002651/4.63, allocations: 275.8 kB / 3.011 GB, free: 55.88 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.266e-05/4.63, allocations: 7.891 kB / 3.011 GB, free: 55.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005027/4.63, allocations: 51.95 kB / 3.011 GB, free: 55.82 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.465e-05/4.63, allocations: 64.69 kB / 3.011 GB, free: 55.76 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/4.63, allocations: 27.98 kB / 3.011 GB, free: 55.73 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003479/4.631, allocations: 406.9 kB / 3.012 GB, free: 55.34 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/4.631, allocations: 0 / 3.012 GB, free: 55.34 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008735/4.632, allocations: 335 kB / 3.012 GB, free: 55.01 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.002642/4.634, allocations: 2.356 MB / 3.014 GB, free: 52.75 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008998/4.635, allocations: 0.6553 MB / 3.015 GB, free: 52.08 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/4.635, allocations: 4 kB / 3.015 GB, free: 52.08 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005224/4.636, allocations: 444.5 kB / 3.015 GB, free: 51.64 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009698/4.637, allocations: 233.8 kB / 3.016 GB, free: 51.41 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/4.64, allocations: 1.49 MB / 3.017 GB, free: 49.88 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/4.64, allocations: 1.019 MB / 3.018 GB, free: 48.84 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000707/4.641, allocations: 253.9 kB / 3.018 GB, free: 48.59 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000404/4.641, allocations: 351.3 kB / 3.019 GB, free: 48.24 MB / 1.151 GB Notification: Performance of SimCode: time 5.01e-07/4.641, allocations: 4 kB / 3.019 GB, free: 48.24 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/4.754, allocations: 23.58 MB / 3.042 GB, free: 24.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/4.754, allocations: 184.5 kB / 3.042 GB, free: 24.61 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/7.715, allocations: 0 / 3.042 GB, free: 24.61 MB / 1.151 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SkyTemperature_Examples_BlackBody.fmu > Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SkyTemperature.Examples.BlackBody_res.mat does not exist to compare? outputFormat=mat