Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.22/2.22, allocations: 390.3 MB / 405.3 MB, free: 13.57 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.001304/0.001304, allocations: 185 kB / 498.1 MB, free: 5.797 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.491/1.491, allocations: 223.1 MB / 0.7948 GB, free: 18.95 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.001002/0.001002, allocations: 107.9 kB / 0.9346 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003403/0.0003403, allocations: 8.469 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2255, allocations: 142.4 MB / 1.223 GB, free: 89.55 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.649/3.875, allocations: 1.731 GB / 2.954 GB, free: 215.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/3.875, allocations: 105.3 kB / 2.955 GB, free: 215.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1265/4.002, allocations: 60.45 MB / 3.014 GB, free: 164.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.856e-06/4.002, allocations: 0 / 3.014 GB, free: 164.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.966e-05/4.002, allocations: 27.98 kB / 3.014 GB, free: 164.7 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002032/4.004, allocations: 1.209 MB / 3.015 GB, free: 163.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/4.004, allocations: 12.03 kB / 3.015 GB, free: 163.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/4.004, allocations: 139.2 kB / 3.015 GB, free: 163.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008254/4.005, allocations: 194.5 kB / 3.015 GB, free: 163.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008538/4.006, allocations: 0.6174 MB / 3.016 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/4.006, allocations: 67.62 kB / 3.016 GB, free: 162.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.285e-05/4.006, allocations: 78.12 kB / 3.016 GB, free: 162.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001329/4.007, allocations: 0.8889 MB / 3.017 GB, free: 161.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/4.007, allocations: 0 / 3.017 GB, free: 161.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.037e-05/4.007, allocations: 45.02 kB / 3.017 GB, free: 161.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/4.007, allocations: 24 kB / 3.017 GB, free: 161.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/4.009, allocations: 1.105 MB / 3.018 GB, free: 161 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003407/4.012, allocations: 2.552 MB / 3.02 GB, free: 158.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/4.014, allocations: 0.8835 MB / 3.021 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.18e-05/4.014, allocations: 36 kB / 3.021 GB, free: 158.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006382/4.015, allocations: 445.6 kB / 3.022 GB, free: 157.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/4.015, allocations: 0 / 3.022 GB, free: 157.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.002734/4.017, allocations: 1.133 MB / 3.023 GB, free: 157 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.562e-05/4.018, allocations: 251.6 kB / 3.023 GB, free: 156.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006368/4.018, allocations: 0.5959 MB / 3.024 GB, free: 156.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/4.018, allocations: 40.7 kB / 3.024 GB, free: 156.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002083/4.018, allocations: 380 kB / 3.024 GB, free: 155.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/4.019, allocations: 245.3 kB / 3.024 GB, free: 155.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/4.019, allocations: 15.69 kB / 3.024 GB, free: 155.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.194e-05/4.019, allocations: 384.2 kB / 3.025 GB, free: 155.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/4.019, allocations: 229.6 kB / 3.025 GB, free: 155.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/4.02, allocations: 346.6 kB / 3.025 GB, free: 154.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004308/4.02, allocations: 278.8 kB / 3.025 GB, free: 154.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/4.02, allocations: 0 / 3.025 GB, free: 154.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001551/4.022, allocations: 0.7487 MB / 3.026 GB, free: 154.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/4.022, allocations: 12.05 kB / 3.026 GB, free: 154.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/4.022, allocations: 4 kB / 3.026 GB, free: 154.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006213/4.022, allocations: 80.28 kB / 3.026 GB, free: 154.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/4.023, allocations: 147.4 kB / 3.026 GB, free: 154 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/4.025, allocations: 1.535 MB / 3.028 GB, free: 152.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006518/4.025, allocations: 98.81 kB / 3.028 GB, free: 152.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.675e-05/4.025, allocations: 27.61 kB / 3.028 GB, free: 152.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked 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.0004433/4.026, allocations: 250.4 kB / 3.028 GB, free: 152.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/4.026, allocations: 82.95 kB / 3.028 GB, free: 152 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/4.028, allocations: 1.079 MB / 3.029 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/4.028, allocations: 12 kB / 3.029 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/4.028, allocations: 0 / 3.029 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/4.028, allocations: 3.984 kB / 3.029 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002837/4.031, allocations: 1.975 MB / 3.031 GB, free: 149.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/4.031, allocations: 0 / 3.031 GB, free: 149.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/4.032, allocations: 159.7 kB / 3.031 GB, free: 149.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005059/4.032, allocations: 87.09 kB / 3.032 GB, free: 149.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/4.032, allocations: 22.17 kB / 3.032 GB, free: 149.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/4.034, allocations: 1.566 MB / 3.033 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/4.034, allocations: 288 / 3.033 GB, free: 147.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/4.035, allocations: 0.9611 MB / 3.034 GB, free: 147.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/4.036, allocations: 299.7 kB / 3.034 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/4.036, allocations: 26.39 kB / 3.034 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/4.036, allocations: 66.94 kB / 3.034 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/4.036, allocations: 64.53 kB / 3.034 GB, free: 146.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.655e-05/4.036, allocations: 43.17 kB / 3.035 GB, free: 146.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0004879/4.037, allocations: 493.5 kB / 3.035 GB, free: 146.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/4.037, allocations: 0 / 3.035 GB, free: 146.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001016/4.038, allocations: 370 kB / 3.035 GB, free: 146.1 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 (93): * Single equations (assignments): 90 * 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.003549/4.042, allocations: 2.493 MB / 3.038 GB, free: 144 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001348/4.043, allocations: 0.765 MB / 3.039 GB, free: 143.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/4.043, allocations: 0 / 3.039 GB, free: 143.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007234/4.044, allocations: 0.5073 MB / 3.039 GB, free: 143 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/4.045, allocations: 245.9 kB / 3.039 GB, free: 142.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007727/4.052, allocations: 5.142 MB / 3.044 GB, free: 138.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/4.053, allocations: 1.038 MB / 3.045 GB, free: 137.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008/4.054, allocations: 266.4 kB / 3.046 GB, free: 137.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004355/4.054, allocations: 367.8 kB / 3.046 GB, free: 137 MB / 1.167 GB Notification: Performance of SimCode: time 1.462e-06/4.054, allocations: 3.938 kB / 3.046 GB, free: 137 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04521/4.099, allocations: 29.81 MB / 3.075 GB, free: 107.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001609/4.1, allocations: 284 kB / 3.075 GB, free: 107.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.084/7.184, allocations: 2.531 kB / 3.075 GB, free: 107.2 MB / 1.167 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat does not exist to compare? outputFormat=mat