Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.394/2.394, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001672/0.001672, allocations: 196.1 kB / 498.1 MB, free: 5.668 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.763/1.763, allocations: 223.1 MB / 0.7948 GB, free: 17.93 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.0009869/0.0009865, allocations: 100.3 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003868, allocations: 10.5 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.656/3.933, allocations: 1.731 GB / 2.954 GB, free: 253.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/3.933, allocations: 105.6 kB / 2.954 GB, free: 253.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1259/4.059, allocations: 59.62 MB / 3.012 GB, free: 202.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.584e-06/4.059, allocations: 0 / 3.012 GB, free: 202.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000101/4.06, allocations: 24 kB / 3.012 GB, free: 202.6 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.002624/4.062, allocations: 1.196 MB / 3.013 GB, free: 201.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/4.062, allocations: 12.03 kB / 3.013 GB, free: 201.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002927/4.062, allocations: 127.9 kB / 3.013 GB, free: 201.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001026/4.064, allocations: 186.6 kB / 3.013 GB, free: 201.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/4.065, allocations: 0.6081 MB / 3.014 GB, free: 200.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/4.065, allocations: 62.81 kB / 3.014 GB, free: 200.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/4.065, allocations: 76.38 kB / 3.014 GB, free: 200.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/4.067, allocations: 0.864 MB / 3.015 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/4.067, allocations: 3.938 kB / 3.015 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.832e-05/4.067, allocations: 40.52 kB / 3.015 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/4.067, allocations: 20 kB / 3.015 GB, free: 199.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/4.068, allocations: 1.077 MB / 3.016 GB, free: 199 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00407/4.073, allocations: 2.406 MB / 3.019 GB, free: 197.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001302/4.074, allocations: 0.813 MB / 3.019 GB, free: 196.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.5e-05/4.074, allocations: 32.67 kB / 3.019 GB, free: 196.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006907/4.075, allocations: 428.2 kB / 3.02 GB, free: 196.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=73): time 5.811e-06/4.075, allocations: 7.984 kB / 3.02 GB, free: 196.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=73): time 0.00287/4.078, allocations: 1.097 MB / 3.021 GB, free: 195.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/4.078, allocations: 247.7 kB / 3.021 GB, free: 194.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007991/4.078, allocations: 0.591 MB / 3.022 GB, free: 194.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/4.079, allocations: 36.95 kB / 3.022 GB, free: 194.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002774/4.079, allocations: 375.9 kB / 3.022 GB, free: 194.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/4.079, allocations: 248 kB / 3.022 GB, free: 194 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/4.079, allocations: 6.438 kB / 3.022 GB, free: 194 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001323/4.079, allocations: 387.2 kB / 3.023 GB, free: 193.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/4.08, allocations: 212.9 kB / 3.023 GB, free: 193.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/4.08, allocations: 335.3 kB / 3.023 GB, free: 193.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004912/4.081, allocations: 265.6 kB / 3.023 GB, free: 193 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/4.081, allocations: 0 / 3.023 GB, free: 193 MB / 1.167 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001579/4.082, allocations: 0.7321 MB / 3.024 GB, free: 192.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/4.082, allocations: 8 kB / 3.024 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/4.082, allocations: 0 / 3.024 GB, free: 192.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/4.083, allocations: 84.55 kB / 3.024 GB, free: 192.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/4.083, allocations: 143.2 kB / 3.024 GB, free: 192.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001808/4.085, allocations: 1.527 MB / 3.026 GB, free: 190.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005729/4.086, allocations: 78.72 kB / 3.026 GB, free: 190.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/4.086, allocations: 27.23 kB / 3.026 GB, free: 190.6 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.0003375/4.086, allocations: 257.8 kB / 3.026 GB, free: 190.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/4.086, allocations: 75.06 kB / 3.026 GB, free: 190.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002/4.088, allocations: 1.023 MB / 3.027 GB, free: 189.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/4.088, allocations: 12 kB / 3.027 GB, free: 189.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/4.088, allocations: 7.938 kB / 3.027 GB, free: 189.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/4.088, allocations: 3.984 kB / 3.027 GB, free: 189.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/4.091, allocations: 1.899 MB / 3.029 GB, free: 188.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/4.091, allocations: 0 / 3.029 GB, free: 188.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/4.092, allocations: 150.6 kB / 3.029 GB, free: 188 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004815/4.092, allocations: 92.25 kB / 3.029 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.089e-05/4.092, allocations: 27.67 kB / 3.029 GB, free: 187.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/4.094, allocations: 1.561 MB / 3.031 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/4.094, allocations: 0 / 3.031 GB, free: 186.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/4.095, allocations: 0.9384 MB / 3.032 GB, free: 185.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003741/4.096, allocations: 277.8 kB / 3.032 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/4.096, allocations: 16 kB / 3.032 GB, free: 185.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005816/4.097, allocations: 73.31 kB / 3.032 GB, free: 185.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/4.097, allocations: 58 kB / 3.032 GB, free: 185.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/4.097, allocations: 38.34 kB / 3.032 GB, free: 185.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005353/4.097, allocations: 479.1 kB / 3.033 GB, free: 184.9 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.9e-07/4.097, allocations: 0 / 3.033 GB, free: 184.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001066/4.098, allocations: 355.4 kB / 3.033 GB, free: 184.6 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.003586/4.102, allocations: 2.457 MB / 3.035 GB, free: 182.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001358/4.103, allocations: 0.7284 MB / 3.036 GB, free: 182 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/4.103, allocations: 4 kB / 3.036 GB, free: 182 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007333/4.104, allocations: 494.3 kB / 3.037 GB, free: 181.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009972/4.105, allocations: 238 kB / 3.037 GB, free: 181.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00886/4.114, allocations: 5.167 MB / 3.042 GB, free: 176.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/4.114, allocations: 1.023 MB / 3.043 GB, free: 175.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008439/4.115, allocations: 258.1 kB / 3.043 GB, free: 175.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/4.116, allocations: 355.2 kB / 3.044 GB, free: 175.2 MB / 1.167 GB Notification: Performance of SimCode: time 5.92e-07/4.116, allocations: 0 / 3.044 GB, free: 175.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04427/4.16, allocations: 29.18 MB / 3.072 GB, free: 146.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00016/4.16, allocations: 287.4 kB / 3.072 GB, free: 146 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.003/7.163, allocations: 3.516 kB / 3.072 GB, free: 146 MB / 1.167 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat does not exist to compare? outputFormat=mat