Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.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.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_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.669/2.669, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001339/0.001339, allocations: 195.4 kB / 0.4901 GB, free: 2.219 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.555/1.555, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.001041/0.001041, allocations: 101 kB / 0.9396 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003774/0.0003774, allocations: 10.88 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3314, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.317/4.648, allocations: 1.733 GB / 2.962 GB, free: 253.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/4.649, allocations: 92.61 kB / 2.962 GB, free: 253.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.203/4.852, allocations: 94.69 MB / 3.055 GB, free: 158.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.625e-06/4.852, allocations: 0 / 3.055 GB, free: 158.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001434/4.852, allocations: 35.94 kB / 3.055 GB, free: 158.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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.003354/4.855, allocations: 1.527 MB / 3.056 GB, free: 156.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/4.855, allocations: 8.562 kB / 3.056 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004478/4.856, allocations: 211.1 kB / 3.057 GB, free: 156.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/4.857, allocations: 245.8 kB / 3.057 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/4.858, allocations: 0.7793 MB / 3.058 GB, free: 155.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-05/4.858, allocations: 102.9 kB / 3.058 GB, free: 155.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/4.859, allocations: 136 kB / 3.058 GB, free: 155.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/4.861, allocations: 1.424 MB / 3.059 GB, free: 153.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/4.861, allocations: 0 / 3.059 GB, free: 153.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/4.861, allocations: 59.95 kB / 3.059 GB, free: 153.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/4.861, allocations: 36 kB / 3.059 GB, free: 153.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/4.864, allocations: 1.517 MB / 3.061 GB, free: 152 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006346/4.87, allocations: 3.838 MB / 3.065 GB, free: 148.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/4.872, allocations: 0.9632 MB / 3.065 GB, free: 147.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/4.872, allocations: 45.06 kB / 3.066 GB, free: 147.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008893/4.873, allocations: 0.5826 MB / 3.066 GB, free: 146.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=104): time 3.337e-06/4.873, allocations: 0 / 3.066 GB, free: 146.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=104): time 0.00348/4.876, allocations: 1.49 MB / 3.068 GB, free: 144.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/4.876, allocations: 244.3 kB / 3.068 GB, free: 144.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/4.877, allocations: 0.7308 MB / 3.068 GB, free: 143.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 9.348e-05/4.877, allocations: 49.7 kB / 3.069 GB, free: 143.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/4.878, allocations: 0.5583 MB / 3.069 GB, free: 143.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/4.878, allocations: 347 kB / 3.069 GB, free: 142.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/4.878, allocations: 16 kB / 3.069 GB, free: 142.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.584e-05/4.878, allocations: 341.9 kB / 3.07 GB, free: 142.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005613/4.879, allocations: 337.8 kB / 3.07 GB, free: 142.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000649/4.879, allocations: 471.3 kB / 3.071 GB, free: 141.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000694/4.88, allocations: 415.1 kB / 3.071 GB, free: 141.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/4.88, allocations: 3.953 kB / 3.071 GB, free: 141.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00213/4.882, allocations: 1.071 MB / 3.072 GB, free: 140.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/4.882, allocations: 8 kB / 3.072 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/4.882, allocations: 4 kB / 3.072 GB, free: 140.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006154/4.883, allocations: 84.83 kB / 3.072 GB, free: 140.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009753/4.884, allocations: 219.7 kB / 3.072 GB, free: 140 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/4.886, allocations: 1.543 MB / 3.074 GB, free: 138.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009482/4.887, allocations: 119 kB / 3.074 GB, free: 138.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/4.887, allocations: 47.91 kB / 3.074 GB, free: 138.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 (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.0006503/4.887, allocations: 302.4 kB / 3.074 GB, free: 137.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/4.888, allocations: 102.8 kB / 3.074 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002987/4.891, allocations: 1.423 MB / 3.076 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/4.891, allocations: 15.89 kB / 3.076 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/4.891, allocations: 4 kB / 3.076 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/4.891, allocations: 3.984 kB / 3.076 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00405/4.895, allocations: 2.617 MB / 3.078 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/4.895, allocations: 0 / 3.078 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007914/4.896, allocations: 195.7 kB / 3.078 GB, free: 133.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005238/4.896, allocations: 88.77 kB / 3.079 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-05/4.896, allocations: 23.98 kB / 3.079 GB, free: 133.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/4.898, allocations: 1.571 MB / 3.08 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/4.898, allocations: 3.953 kB / 3.08 GB, free: 131.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/4.9, allocations: 1.175 MB / 3.081 GB, free: 130.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006184/4.9, allocations: 371.1 kB / 3.082 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002063/4.901, allocations: 23.95 kB / 3.082 GB, free: 130 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000808/4.901, allocations: 67.95 kB / 3.082 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/4.902, allocations: 76.89 kB / 3.082 GB, free: 129.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/4.902, allocations: 39.97 kB / 3.082 GB, free: 129.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0008061/4.903, allocations: 0.6278 MB / 3.082 GB, free: 129.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.022e-06/4.903, allocations: 0 / 3.082 GB, free: 129.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001374/4.904, allocations: 470.6 kB / 3.083 GB, free: 128.7 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.004058/4.908, allocations: 2.687 MB / 3.086 GB, free: 126.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001914/4.91, allocations: 1.015 MB / 3.087 GB, free: 125.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/4.91, allocations: 4 kB / 3.087 GB, free: 125.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009475/4.911, allocations: 0.6056 MB / 3.087 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.001143/4.912, allocations: 261.8 kB / 3.087 GB, free: 124.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/4.925, allocations: 6.922 MB / 3.094 GB, free: 117.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007177/4.925, allocations: 1.189 MB / 3.095 GB, free: 115.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001112/4.926, allocations: 308.2 kB / 3.096 GB, free: 115.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007803/4.927, allocations: 0.5383 MB / 3.096 GB, free: 115.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.042e-06/4.927, allocations: 0 / 3.096 GB, free: 115.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05912/4.986, allocations: 35.47 MB / 3.131 GB, free: 79.96 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001721/4.987, allocations: 278.8 kB / 3.131 GB, free: 79.61 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.323/8.31, allocations: 3.75 kB / 3.131 GB, free: 79.61 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat