Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.238/2.238, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001104/0.001104, allocations: 175.9 kB / 0.4901 GB, free: 2.238 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.584/1.584, allocations: 223.1 MB / 0.7992 GB, free: 15.73 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.001153/0.001153, allocations: 94.3 kB / 0.9396 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.0004013, allocations: 10.27 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3256/0.3261, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.946/4.272, allocations: 1.733 GB / 2.962 GB, free: 196.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/4.273, allocations: 100.6 kB / 2.962 GB, free: 196.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1266/4.399, allocations: 60.04 MB / 3.021 GB, free: 145.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.926e-06/4.399, allocations: 0 / 3.021 GB, free: 145.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.895e-05/4.399, allocations: 27.94 kB / 3.021 GB, free: 145.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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.002073/4.402, allocations: 1.193 MB / 3.022 GB, free: 144.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/4.402, allocations: 12.03 kB / 3.022 GB, free: 144.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001689/4.402, allocations: 132.4 kB / 3.022 GB, free: 144.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008242/4.403, allocations: 182.6 kB / 3.022 GB, free: 144.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009065/4.403, allocations: 0.6132 MB / 3.023 GB, free: 143.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/4.404, allocations: 64.25 kB / 3.023 GB, free: 143.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.715e-05/4.404, allocations: 81.38 kB / 3.023 GB, free: 143.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/4.405, allocations: 0.8779 MB / 3.024 GB, free: 143 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.006e-05/4.405, allocations: 0 / 3.024 GB, free: 143 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.531e-05/4.405, allocations: 43.62 kB / 3.024 GB, free: 143 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/4.405, allocations: 20 kB / 3.024 GB, free: 143 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001451/4.406, allocations: 1.107 MB / 3.025 GB, free: 142.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003698/4.41, allocations: 2.543 MB / 3.027 GB, free: 140 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/4.411, allocations: 0.7479 MB / 3.028 GB, free: 139.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.681e-05/4.412, allocations: 32.59 kB / 3.028 GB, free: 139.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006767/4.412, allocations: 447.4 kB / 3.029 GB, free: 139.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=76): time 2.625e-06/4.412, allocations: 0 / 3.029 GB, free: 139.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=76): time 0.002813/4.415, allocations: 1.141 MB / 3.03 GB, free: 138.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.632e-05/4.415, allocations: 240 kB / 3.03 GB, free: 138 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006961/4.416, allocations: 0.5931 MB / 3.03 GB, free: 137.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/4.416, allocations: 40.33 kB / 3.03 GB, free: 137.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/4.416, allocations: 383.1 kB / 3.031 GB, free: 137.2 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/4.416, allocations: 247.9 kB / 3.031 GB, free: 137 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.331e-05/4.416, allocations: 15.62 kB / 3.031 GB, free: 137 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.179e-05/4.416, allocations: 379 kB / 3.031 GB, free: 136.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/4.417, allocations: 237.4 kB / 3.032 GB, free: 136.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/4.417, allocations: 341.6 kB / 3.032 GB, free: 136.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004686/4.418, allocations: 277.9 kB / 3.032 GB, free: 136.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/4.418, allocations: 3.953 kB / 3.032 GB, free: 136.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001566/4.419, allocations: 0.7617 MB / 3.033 GB, free: 135.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/4.419, allocations: 8 kB / 3.033 GB, free: 135.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/4.419, allocations: 3.938 kB / 3.033 GB, free: 135.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006187/4.42, allocations: 83.58 kB / 3.033 GB, free: 135.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006105/4.421, allocations: 150.9 kB / 3.033 GB, free: 135.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/4.422, allocations: 1.533 MB / 3.035 GB, free: 133.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006349/4.423, allocations: 85.92 kB / 3.035 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.672e-05/4.423, allocations: 31.56 kB / 3.035 GB, free: 133.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 (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.0004226/4.423, allocations: 254.2 kB / 3.035 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/4.424, allocations: 83 kB / 3.035 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/4.426, allocations: 1.052 MB / 3.036 GB, free: 132.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/4.426, allocations: 11.95 kB / 3.036 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/4.426, allocations: 0 / 3.036 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/4.426, allocations: 3.984 kB / 3.036 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/4.428, allocations: 1.935 MB / 3.038 GB, free: 131.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/4.429, allocations: 0 / 3.038 GB, free: 131.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005737/4.429, allocations: 151.6 kB / 3.038 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005562/4.43, allocations: 84.47 kB / 3.038 GB, free: 130.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.129e-05/4.43, allocations: 23.3 kB / 3.038 GB, free: 130.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002359/4.432, allocations: 1.56 MB / 3.04 GB, free: 129.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/4.432, allocations: 0 / 3.04 GB, free: 129.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/4.435, allocations: 0.9352 MB / 3.041 GB, free: 128.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005793/4.435, allocations: 297.5 kB / 3.041 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/4.435, allocations: 14.94 kB / 3.041 GB, free: 128.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/4.437, allocations: 67.22 kB / 3.041 GB, free: 128.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/4.437, allocations: 64.47 kB / 3.041 GB, free: 128.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-05/4.437, allocations: 30.73 kB / 3.041 GB, free: 128.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008978/4.438, allocations: 494.4 kB / 3.042 GB, free: 127.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.9e-07/4.438, allocations: 4 kB / 3.042 GB, free: 127.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001589/4.439, allocations: 366.8 kB / 3.042 GB, free: 127.5 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.005845/4.445, allocations: 2.447 MB / 3.044 GB, free: 125.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002395/4.448, allocations: 0.7552 MB / 3.045 GB, free: 124.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/4.448, allocations: 0 / 3.045 GB, free: 124.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001329/4.449, allocations: 0.4912 MB / 3.046 GB, free: 124.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/4.451, allocations: 242 kB / 3.046 GB, free: 124.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/4.465, allocations: 5.132 MB / 3.051 GB, free: 119.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006872/4.466, allocations: 1.028 MB / 3.052 GB, free: 118.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001665/4.468, allocations: 270.4 kB / 3.052 GB, free: 118.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008087/4.469, allocations: 365.3 kB / 3.053 GB, free: 118.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.633e-06/4.469, allocations: 0 / 3.053 GB, free: 118.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06122/4.53, allocations: 29.63 MB / 3.081 GB, free: 89.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001569/4.53, allocations: 289.4 kB / 3.082 GB, free: 88.84 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.103/7.633, allocations: 2.5 kB / 3.082 GB, free: 88.84 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat