Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.293/2.293, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001178/0.001178, allocations: 169.1 kB / 498.1 MB, free: 5.715 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.526/1.526, allocations: 223.2 MB / 0.7948 GB, free: 18.81 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.0009071/0.000907, allocations: 96.08 kB / 0.9346 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004776, allocations: 8.344 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3105, allocations: 142.4 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.625/3.936, allocations: 1.732 GB / 2.955 GB, free: 252.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/3.936, allocations: 105.9 kB / 2.955 GB, free: 252.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1275/4.064, allocations: 60.03 MB / 3.013 GB, free: 192.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.248e-06/4.064, allocations: 3.938 kB / 3.013 GB, free: 192.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001198/4.064, allocations: 27.94 kB / 3.013 GB, free: 192.2 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.00288/4.067, allocations: 1.199 MB / 3.015 GB, free: 190.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/4.067, allocations: 8.031 kB / 3.015 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002126/4.067, allocations: 135.1 kB / 3.015 GB, free: 190.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008589/4.068, allocations: 186.6 kB / 3.015 GB, free: 190.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008976/4.069, allocations: 0.6152 MB / 3.016 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/4.069, allocations: 62 kB / 3.016 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-05/4.069, allocations: 80 kB / 3.016 GB, free: 189.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/4.07, allocations: 0.8871 MB / 3.017 GB, free: 188.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/4.07, allocations: 0 / 3.017 GB, free: 188.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.32e-05/4.07, allocations: 35.95 kB / 3.017 GB, free: 188.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/4.07, allocations: 20 kB / 3.017 GB, free: 188.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/4.072, allocations: 1.108 MB / 3.018 GB, free: 187.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/4.075, allocations: 2.527 MB / 3.02 GB, free: 185.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001134/4.076, allocations: 0.7544 MB / 3.021 GB, free: 184.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.906e-05/4.076, allocations: 32.59 kB / 3.021 GB, free: 184.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006298/4.077, allocations: 455.2 kB / 3.021 GB, free: 183.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 2.554e-06/4.077, allocations: 0 / 3.021 GB, free: 183.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.002713/4.08, allocations: 1.14 MB / 3.023 GB, free: 182.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/4.08, allocations: 240 kB / 3.023 GB, free: 182.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006248/4.081, allocations: 0.5893 MB / 3.023 GB, free: 181.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.408e-05/4.081, allocations: 41.7 kB / 3.023 GB, free: 181.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/4.081, allocations: 380.3 kB / 3.024 GB, free: 181.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/4.081, allocations: 256.3 kB / 3.024 GB, free: 181.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/4.081, allocations: 8 kB / 3.024 GB, free: 181.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.887e-05/4.081, allocations: 386.8 kB / 3.024 GB, free: 180.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/4.081, allocations: 229.2 kB / 3.025 GB, free: 180.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004353/4.082, allocations: 347.6 kB / 3.025 GB, free: 180.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000431/4.082, allocations: 275.1 kB / 3.025 GB, free: 179.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/4.082, allocations: 3.953 kB / 3.025 GB, free: 179.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001546/4.084, allocations: 0.7588 MB / 3.026 GB, free: 179.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/4.084, allocations: 7.984 kB / 3.026 GB, free: 179.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/4.084, allocations: 0 / 3.026 GB, free: 179.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000623/4.085, allocations: 80.84 kB / 3.026 GB, free: 179 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/4.085, allocations: 151.8 kB / 3.026 GB, free: 178.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/4.087, allocations: 1.54 MB / 3.028 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005747/4.087, allocations: 79.34 kB / 3.028 GB, free: 177.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/4.087, allocations: 31.94 kB / 3.028 GB, free: 177.1 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: 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 (80): * Single equations (assignments): 79 * 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.0003492/4.088, allocations: 258.6 kB / 3.028 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/4.088, allocations: 79.06 kB / 3.028 GB, free: 176.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001995/4.09, allocations: 1.042 MB / 3.029 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/4.09, allocations: 15.95 kB / 3.029 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/4.09, allocations: 0 / 3.029 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/4.09, allocations: 3.984 kB / 3.029 GB, free: 175.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/4.093, allocations: 1.949 MB / 3.031 GB, free: 173.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/4.093, allocations: 0 / 3.031 GB, free: 173.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/4.093, allocations: 147.8 kB / 3.031 GB, free: 173.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004855/4.094, allocations: 88.75 kB / 3.031 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/4.094, allocations: 23.98 kB / 3.031 GB, free: 173.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/4.095, allocations: 1.559 MB / 3.033 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/4.095, allocations: 4.031 kB / 3.033 GB, free: 171.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/4.097, allocations: 0.9414 MB / 3.034 GB, free: 170.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/4.097, allocations: 287.7 kB / 3.034 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/4.097, allocations: 16 kB / 3.034 GB, free: 170.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000576/4.098, allocations: 75.89 kB / 3.034 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/4.098, allocations: 56.91 kB / 3.034 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.188e-05/4.098, allocations: 31.98 kB / 3.034 GB, free: 170.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005087/4.099, allocations: 0.4912 MB / 3.035 GB, free: 169.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/4.099, allocations: 0 / 3.035 GB, free: 169.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001006/4.1, allocations: 355.3 kB / 3.035 GB, free: 169.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.003371/4.103, allocations: 2.449 MB / 3.037 GB, free: 167.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001383/4.104, allocations: 0.755 MB / 3.038 GB, free: 166.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/4.104, allocations: 0 / 3.038 GB, free: 166.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007274/4.105, allocations: 0.5003 MB / 3.039 GB, free: 165.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000973/4.106, allocations: 241 kB / 3.039 GB, free: 165.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007772/4.114, allocations: 5.138 MB / 3.044 GB, free: 160.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/4.114, allocations: 1.027 MB / 3.045 GB, free: 159.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0007684/4.115, allocations: 258.4 kB / 3.045 GB, free: 159.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/4.116, allocations: 363.3 kB / 3.045 GB, free: 158.7 MB / 1.167 GB Notification: Performance of SimCode: time 9.21e-07/4.116, allocations: 0 / 3.045 GB, free: 158.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04542/4.161, allocations: 29.63 MB / 3.074 GB, free: 129.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/4.161, allocations: 290.9 kB / 3.075 GB, free: 129.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.009/7.17, allocations: 3.875 kB / 3.075 GB, free: 129.1 MB / 1.167 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat