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.396/2.396, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001343/0.001343, allocations: 169 kB / 492.3 MB, free: 0.6211 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.573/1.573, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.00105/0.00105, allocations: 101.9 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.487e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3444/0.3445, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.975/5.319, allocations: 1.73 GB / 2.943 GB, free: 120 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/5.319, allocations: 85.73 kB / 2.943 GB, free: 120 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1232/5.443, allocations: 58.24 MB / 3 GB, free: 67.51 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.684e-06/5.443, allocations: 4 kB / 3 GB, free: 67.51 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.972e-05/5.443, allocations: 27.94 kB / 3 GB, free: 67.48 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.002053/5.445, allocations: 1.088 MB / 3.001 GB, free: 66.35 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/5.445, allocations: 8.031 kB / 3.001 GB, free: 66.34 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000199/5.445, allocations: 135.1 kB / 3.001 GB, free: 66.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001233/5.446, allocations: 234.5 kB / 3.001 GB, free: 65.97 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/5.447, allocations: 0.6231 MB / 3.002 GB, free: 65.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/5.447, allocations: 62 kB / 3.002 GB, free: 65.24 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/5.448, allocations: 80 kB / 3.002 GB, free: 65.16 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/5.449, allocations: 0.8742 MB / 3.003 GB, free: 64.24 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/5.449, allocations: 0 / 3.003 GB, free: 64.24 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/5.449, allocations: 36 kB / 3.003 GB, free: 64.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/5.449, allocations: 27.89 kB / 3.003 GB, free: 64.18 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/5.45, allocations: 1.05 MB / 3.004 GB, free: 63.12 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/5.454, allocations: 2.719 MB / 3.007 GB, free: 60.33 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/5.455, allocations: 0.8136 MB / 3.008 GB, free: 59.48 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/5.456, allocations: 259.2 kB / 3.008 GB, free: 59.23 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.573e-05/5.456, allocations: 32.81 kB / 3.008 GB, free: 59.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005767/5.456, allocations: 417.3 kB / 3.008 GB, free: 58.77 MB / 1.151 GB Notification: Performance of pre-optimization done (n=74): time 3.256e-06/5.456, allocations: 4 kB / 3.008 GB, free: 58.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=74): time 0.001491/5.458, allocations: 0.6798 MB / 3.009 GB, free: 58.07 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/5.458, allocations: 252.1 kB / 3.009 GB, free: 57.77 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007537/5.459, allocations: 0.5738 MB / 3.01 GB, free: 57.19 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.966e-05/5.459, allocations: 49.64 kB / 3.01 GB, free: 57.14 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/5.459, allocations: 380.2 kB / 3.01 GB, free: 56.76 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/5.459, allocations: 248.4 kB / 3.01 GB, free: 56.51 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/5.459, allocations: 16 kB / 3.01 GB, free: 56.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.324e-05/5.459, allocations: 382.7 kB / 3.011 GB, free: 56.11 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003151/5.46, allocations: 201.5 kB / 3.011 GB, free: 55.91 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/5.46, allocations: 327.7 kB / 3.011 GB, free: 55.55 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003745/5.46, allocations: 258 kB / 3.011 GB, free: 55.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/5.46, allocations: 0 / 3.011 GB, free: 55.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001378/5.462, allocations: 0.7071 MB / 3.012 GB, free: 54.59 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/5.462, allocations: 8 kB / 3.012 GB, free: 54.58 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/5.462, allocations: 0 / 3.012 GB, free: 54.58 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006127/5.462, allocations: 84.94 kB / 3.012 GB, free: 54.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/5.463, allocations: 147.8 kB / 3.012 GB, free: 54.35 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/5.465, allocations: 1.521 MB / 3.014 GB, free: 52.69 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/5.465, allocations: 87.41 kB / 3.014 GB, free: 52.61 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.846e-05/5.465, allocations: 27.98 kB / 3.014 GB, free: 52.58 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.0001535/5.466, allocations: 146.8 kB / 3.014 GB, free: 52.43 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/5.466, allocations: 75.06 kB / 3.014 GB, free: 52.36 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001951/5.468, allocations: 0.97 MB / 3.015 GB, free: 51.37 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/5.468, allocations: 11.94 kB / 3.015 GB, free: 51.36 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/5.468, allocations: 0 / 3.015 GB, free: 51.36 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/5.468, allocations: 3.984 kB / 3.015 GB, free: 51.35 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/5.471, allocations: 1.928 MB / 3.017 GB, free: 49.35 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/5.471, allocations: 3.938 kB / 3.017 GB, free: 49.35 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/5.471, allocations: 143.8 kB / 3.017 GB, free: 49.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004624/5.472, allocations: 84.78 kB / 3.017 GB, free: 49.12 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/5.472, allocations: 19.98 kB / 3.017 GB, free: 49.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/5.473, allocations: 1.544 MB / 3.019 GB, free: 47.42 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/5.473, allocations: 0 / 3.019 GB, free: 47.42 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/5.474, allocations: 0.8767 MB / 3.02 GB, free: 46.52 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/5.475, allocations: 279.7 kB / 3.02 GB, free: 46.22 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/5.475, allocations: 24.02 kB / 3.02 GB, free: 46.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005822/5.476, allocations: 71.94 kB / 3.02 GB, free: 46.13 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/5.476, allocations: 56.7 kB / 3.02 GB, free: 46.07 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/5.476, allocations: 27.98 kB / 3.02 GB, free: 46.05 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004969/5.476, allocations: 483.1 kB / 3.021 GB, free: 45.58 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/5.476, allocations: 3.938 kB / 3.021 GB, free: 45.57 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001095/5.477, allocations: 367.2 kB / 3.021 GB, free: 45.21 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.003195/5.481, allocations: 2.334 MB / 3.023 GB, free: 43.01 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001087/5.482, allocations: 0.6901 MB / 3.024 GB, free: 42.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/5.482, allocations: 0 / 3.024 GB, free: 42.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006234/5.482, allocations: 479.2 kB / 3.024 GB, free: 41.82 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/5.483, allocations: 248.3 kB / 3.025 GB, free: 41.59 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/5.487, allocations: 1.552 MB / 3.026 GB, free: 40 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/5.487, allocations: 1.027 MB / 3.027 GB, free: 38.94 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007785/5.488, allocations: 270.2 kB / 3.027 GB, free: 38.67 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/5.488, allocations: 359.3 kB / 3.028 GB, free: 38.32 MB / 1.151 GB Notification: Performance of SimCode: time 5.71e-07/5.488, allocations: 0 / 3.028 GB, free: 38.32 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05102/5.539, allocations: 31.42 MB / 3.058 GB, free: 7.18 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001622/5.54, allocations: 248.5 kB / 3.059 GB, free: 6.859 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.217/8.757, allocations: 3.938 kB / 3.059 GB, free: 6.855 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