Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_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.365/2.365, allocations: 390.3 MB / 405.3 MB, free: 13.42 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.001249/0.001248, allocations: 191.2 kB / 498.1 MB, free: 5.664 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.611/1.611, allocations: 223.1 MB / 0.7948 GB, free: 17.84 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.0009341/0.0009341, allocations: 92.27 kB / 0.9346 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 10.27 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3081, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.294/4.602, allocations: 1.732 GB / 2.955 GB, free: 251.8 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/4.603, allocations: 91.78 kB / 2.955 GB, free: 251.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1948/4.797, allocations: 94.68 MB / 3.048 GB, free: 169.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.835e-06/4.798, allocations: 0 / 3.048 GB, free: 169.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.822e-05/4.798, allocations: 35.94 kB / 3.048 GB, free: 169.3 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.002519/4.8, allocations: 1.531 MB / 3.049 GB, free: 167.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/4.8, allocations: 8.031 kB / 3.049 GB, free: 167.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001987/4.8, allocations: 207.8 kB / 3.049 GB, free: 167.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008955/4.801, allocations: 249.8 kB / 3.05 GB, free: 167.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/4.802, allocations: 0.7705 MB / 3.05 GB, free: 166.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.432e-05/4.802, allocations: 110.7 kB / 3.051 GB, free: 166.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/4.803, allocations: 141.1 kB / 3.051 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/4.805, allocations: 1.408 MB / 3.052 GB, free: 165.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/4.805, allocations: 0 / 3.052 GB, free: 165.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/4.805, allocations: 67.58 kB / 3.052 GB, free: 165.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/4.805, allocations: 32 kB / 3.052 GB, free: 165.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002051/4.807, allocations: 1.526 MB / 3.054 GB, free: 164.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005386/4.812, allocations: 3.821 MB / 3.057 GB, free: 161.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001359/4.814, allocations: 0.962 MB / 3.058 GB, free: 160.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.044e-05/4.814, allocations: 57 kB / 3.058 GB, free: 160.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008247/4.815, allocations: 0.5787 MB / 3.059 GB, free: 159.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=104): time 3.477e-06/4.815, allocations: 0 / 3.059 GB, free: 159.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=104): time 0.003305/4.818, allocations: 1.486 MB / 3.06 GB, free: 158.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/4.818, allocations: 248.3 kB / 3.061 GB, free: 158.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000927/4.819, allocations: 0.7308 MB / 3.061 GB, free: 157.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.066e-05/4.819, allocations: 45.7 kB / 3.061 GB, free: 157.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/4.819, allocations: 0.5622 MB / 3.062 GB, free: 156.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002064/4.82, allocations: 342.9 kB / 3.062 GB, free: 156.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/4.82, allocations: 20 kB / 3.062 GB, free: 156.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/4.82, allocations: 349.9 kB / 3.063 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005667/4.82, allocations: 341.8 kB / 3.063 GB, free: 155.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006532/4.821, allocations: 471.4 kB / 3.063 GB, free: 155.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006481/4.822, allocations: 411.1 kB / 3.064 GB, free: 154.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/4.822, allocations: 3.953 kB / 3.064 GB, free: 154.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002034/4.824, allocations: 1.063 MB / 3.065 GB, free: 153.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/4.824, allocations: 4 kB / 3.065 GB, free: 153.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/4.824, allocations: 0 / 3.065 GB, free: 153.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006579/4.824, allocations: 92.77 kB / 3.065 GB, free: 153.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000899/4.825, allocations: 211.7 kB / 3.065 GB, free: 153.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/4.827, allocations: 1.552 MB / 3.067 GB, free: 151.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008627/4.828, allocations: 114.9 kB / 3.067 GB, free: 151.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.921e-05/4.828, allocations: 43.92 kB / 3.067 GB, free: 151.6 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 (116): * Single equations (assignments): 115 * 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.0006314/4.829, allocations: 312.6 kB / 3.067 GB, free: 151.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/4.829, allocations: 98.78 kB / 3.067 GB, free: 151.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/4.832, allocations: 1.419 MB / 3.069 GB, free: 149.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/4.832, allocations: 15.95 kB / 3.069 GB, free: 149.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.736e-06/4.832, allocations: 0 / 3.069 GB, free: 149.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/4.832, allocations: 3.984 kB / 3.069 GB, free: 149.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003658/4.835, allocations: 2.621 MB / 3.071 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/4.835, allocations: 0 / 3.071 GB, free: 147.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000751/4.836, allocations: 195.7 kB / 3.071 GB, free: 146.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005024/4.837, allocations: 84.78 kB / 3.071 GB, free: 146.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.001e-05/4.837, allocations: 27.98 kB / 3.071 GB, free: 146.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/4.838, allocations: 1.588 MB / 3.073 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/4.838, allocations: 3.953 kB / 3.073 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/4.84, allocations: 1.164 MB / 3.074 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/4.841, allocations: 371.1 kB / 3.075 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/4.841, allocations: 23.95 kB / 3.075 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/4.842, allocations: 67.95 kB / 3.075 GB, free: 143.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/4.842, allocations: 84.81 kB / 3.075 GB, free: 143.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/4.842, allocations: 35.98 kB / 3.075 GB, free: 143.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.000791/4.843, allocations: 0.6279 MB / 3.075 GB, free: 142.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.81e-07/4.843, allocations: 3.938 kB / 3.075 GB, free: 142.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001383/4.844, allocations: 466.6 kB / 3.076 GB, free: 142.2 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 (115): * Single equations (assignments): 112 * 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.004444/4.849, allocations: 2.694 MB / 3.078 GB, free: 139.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002868/4.851, allocations: 1.015 MB / 3.079 GB, free: 138.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/4.851, allocations: 3.938 kB / 3.079 GB, free: 138.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/4.853, allocations: 0.6135 MB / 3.08 GB, free: 138 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/4.855, allocations: 255.1 kB / 3.08 GB, free: 137.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0187/4.874, allocations: 6.918 MB / 3.087 GB, free: 130.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/4.875, allocations: 1.193 MB / 3.088 GB, free: 129.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001929/4.877, allocations: 304.2 kB / 3.088 GB, free: 129.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/4.878, allocations: 0.5344 MB / 3.089 GB, free: 128.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.332e-06/4.878, allocations: 4 kB / 3.089 GB, free: 128.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08346/4.961, allocations: 35.44 MB / 3.124 GB, free: 93.44 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001724/4.962, allocations: 270.8 kB / 3.124 GB, free: 93.08 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.098/8.059, allocations: 7.938 kB / 3.124 GB, free: 93.07 MB / 1.167 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat