Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.483/2.483, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.00111/0.00111, allocations: 185.9 kB / 0.4901 GB, free: 2.234 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.551/1.551, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001016/0.001016, allocations: 93.61 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003917/0.0003917, allocations: 14.84 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3236, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.075/4.399, allocations: 1.731 GB / 2.961 GB, free: 270.7 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003938/4.4, allocations: 98.28 kB / 2.961 GB, free: 270.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1706/4.57, allocations: 59.63 MB / 3.019 GB, free: 210.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.547e-06/4.57, allocations: 0 / 3.019 GB, free: 210.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001228/4.57, allocations: 27.94 kB / 3.019 GB, free: 210.8 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003409/4.574, allocations: 1.179 MB / 3.02 GB, free: 209.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/4.574, allocations: 8.031 kB / 3.02 GB, free: 209.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003296/4.574, allocations: 131 kB / 3.02 GB, free: 209.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/4.576, allocations: 190.5 kB / 3.021 GB, free: 209.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/4.577, allocations: 0.6114 MB / 3.021 GB, free: 208.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.488e-05/4.577, allocations: 58 kB / 3.021 GB, free: 208.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/4.578, allocations: 80 kB / 3.021 GB, free: 208.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/4.58, allocations: 0.8676 MB / 3.022 GB, free: 207.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/4.58, allocations: 0 / 3.022 GB, free: 207.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/4.58, allocations: 43.94 kB / 3.022 GB, free: 207.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/4.58, allocations: 20 kB / 3.022 GB, free: 207.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/4.582, allocations: 1.069 MB / 3.023 GB, free: 206.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005183/4.588, allocations: 2.421 MB / 3.026 GB, free: 203.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/4.59, allocations: 0.8139 MB / 3.026 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/4.59, allocations: 32.67 kB / 3.026 GB, free: 203 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009677/4.591, allocations: 427.5 kB / 3.027 GB, free: 202.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 4.177e-06/4.591, allocations: 0 / 3.027 GB, free: 202.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.004216/4.595, allocations: 1.101 MB / 3.028 GB, free: 201.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/4.595, allocations: 252 kB / 3.028 GB, free: 201.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/4.596, allocations: 0.5891 MB / 3.029 GB, free: 200.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.725e-05/4.596, allocations: 37.7 kB / 3.029 GB, free: 200.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/4.597, allocations: 372.4 kB / 3.029 GB, free: 200.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002309/4.597, allocations: 240.4 kB / 3.029 GB, free: 199.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.942e-05/4.597, allocations: 16 kB / 3.029 GB, free: 199.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001444/4.597, allocations: 374.8 kB / 3.03 GB, free: 199.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006025/4.598, allocations: 221.2 kB / 3.03 GB, free: 199.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/4.598, allocations: 340.4 kB / 3.03 GB, free: 198.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006802/4.599, allocations: 259.1 kB / 3.031 GB, free: 198.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/4.599, allocations: 0 / 3.031 GB, free: 198.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002367/4.601, allocations: 0.7392 MB / 3.031 GB, free: 197.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/4.602, allocations: 5.719 kB / 3.031 GB, free: 197.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/4.602, allocations: 0 / 3.031 GB, free: 197.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008669/4.602, allocations: 88.86 kB / 3.031 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008762/4.603, allocations: 135.8 kB / 3.031 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/4.606, allocations: 1.532 MB / 3.033 GB, free: 196 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009102/4.607, allocations: 79.44 kB / 3.033 GB, free: 195.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.86e-05/4.607, allocations: 31.98 kB / 3.033 GB, free: 195.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0006184/4.607, allocations: 262 kB / 3.033 GB, free: 195.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001855/4.608, allocations: 71.16 kB / 3.033 GB, free: 195.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/4.611, allocations: 1.021 MB / 3.034 GB, free: 194.5 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/4.611, allocations: 8 kB / 3.034 GB, free: 194.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/4.611, allocations: 3.953 kB / 3.034 GB, free: 194.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/4.611, allocations: 3.984 kB / 3.034 GB, free: 194.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004413/4.615, allocations: 1.927 MB / 3.036 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/4.615, allocations: 0 / 3.036 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000876/4.616, allocations: 147.8 kB / 3.036 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007167/4.617, allocations: 84.77 kB / 3.037 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/4.617, allocations: 23.98 kB / 3.037 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00226/4.619, allocations: 1.552 MB / 3.038 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/4.619, allocations: 0 / 3.038 GB, free: 190.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/4.622, allocations: 0.9297 MB / 3.039 GB, free: 189.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005866/4.623, allocations: 279.8 kB / 3.039 GB, free: 189.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/4.623, allocations: 16 kB / 3.039 GB, free: 189.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008679/4.624, allocations: 63.95 kB / 3.039 GB, free: 189.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/4.624, allocations: 68.86 kB / 3.039 GB, free: 189.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.587e-05/4.624, allocations: 27.98 kB / 3.039 GB, free: 189.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008454/4.625, allocations: 483 kB / 3.04 GB, free: 188.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.6e-07/4.625, allocations: 4 kB / 3.04 GB, free: 188.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001609/4.626, allocations: 355.2 kB / 3.04 GB, free: 188.4 MB / 1.167 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * 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.005227/4.632, allocations: 2.457 MB / 3.043 GB, free: 186.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001753/4.633, allocations: 0.7317 MB / 3.043 GB, free: 185.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/4.633, allocations: 0 / 3.043 GB, free: 185.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/4.634, allocations: 496.3 kB / 3.044 GB, free: 184.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/4.636, allocations: 235.7 kB / 3.044 GB, free: 184.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/4.648, allocations: 5.164 MB / 3.049 GB, free: 179.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006223/4.649, allocations: 1.027 MB / 3.05 GB, free: 178.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001415/4.65, allocations: 258.1 kB / 3.05 GB, free: 178.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006389/4.651, allocations: 355.3 kB / 3.051 GB, free: 177.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.152e-06/4.651, allocations: 0 / 3.051 GB, free: 177.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06908/4.72, allocations: 29.19 MB / 3.079 GB, free: 148.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/4.72, allocations: 291.3 kB / 3.079 GB, free: 148.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/7.803, allocations: 0 / 3.079 GB, free: 148.5 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat does not exist to compare? outputFormat=mat