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.336/2.336, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001275/0.001275, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.749/1.749, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.001224/0.001224, allocations: 91.89 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.099e-05/4.103e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3509, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.369/5.72, allocations: 1.733 GB / 2.952 GB, free: 80.98 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003071/5.721, allocations: 87.95 kB / 2.952 GB, free: 80.89 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.933/6.654, allocations: 94.37 MB / 3.044 GB, free: 397.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.963e-06/6.654, allocations: 0 / 3.044 GB, free: 397.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 9.89e-05/6.654, allocations: 32.94 kB / 3.044 GB, free: 397.4 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.003239/6.657, allocations: 1.402 MB / 3.045 GB, free: 396.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/6.657, allocations: 9 kB / 3.045 GB, free: 396.8 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003323/6.657, allocations: 211.1 kB / 3.046 GB, free: 396.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/6.659, allocations: 238.9 kB / 3.046 GB, free: 396.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001504/6.66, allocations: 0.7762 MB / 3.047 GB, free: 396.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/6.66, allocations: 106.2 kB / 3.047 GB, free: 396.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002462/6.661, allocations: 138.4 kB / 3.047 GB, free: 396.4 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/6.663, allocations: 1.37 MB / 3.048 GB, free: 396.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.013e-05/6.663, allocations: 0.75 kB / 3.048 GB, free: 396.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/6.663, allocations: 61.14 kB / 3.048 GB, free: 396.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.924e-05/6.664, allocations: 42.25 kB / 3.048 GB, free: 396.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/6.666, allocations: 1.455 MB / 3.05 GB, free: 396.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008187/6.675, allocations: 3.84 MB / 3.054 GB, free: 395.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/6.676, allocations: 0.914 MB / 3.054 GB, free: 395.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006202/6.677, allocations: 381.8 kB / 3.055 GB, free: 395.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/6.677, allocations: 45.34 kB / 3.055 GB, free: 395.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009906/6.678, allocations: 0.5532 MB / 3.055 GB, free: 395.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=104): time 3.176e-06/6.678, allocations: 0 / 3.055 GB, free: 395.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=104): time 0.002518/6.68, allocations: 0.9748 MB / 3.056 GB, free: 395 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/6.681, allocations: 245.9 kB / 3.057 GB, free: 394.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/6.682, allocations: 0.7267 MB / 3.057 GB, free: 394.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.631e-05/6.682, allocations: 42.55 kB / 3.057 GB, free: 394.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004353/6.682, allocations: 0.5571 MB / 3.058 GB, free: 394.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/6.683, allocations: 342.9 kB / 3.058 GB, free: 394.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/6.683, allocations: 20.97 kB / 3.058 GB, free: 394.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.981e-05/6.683, allocations: 343.6 kB / 3.059 GB, free: 393.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/6.683, allocations: 316 kB / 3.059 GB, free: 393.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006817/6.684, allocations: 444 kB / 3.059 GB, free: 393.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/6.685, allocations: 390.7 kB / 3.06 GB, free: 393.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/6.685, allocations: 0 / 3.06 GB, free: 393.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002354/6.687, allocations: 1.018 MB / 3.061 GB, free: 393.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/6.687, allocations: 5.156 kB / 3.061 GB, free: 393.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/6.687, allocations: 1.062 kB / 3.061 GB, free: 393.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/6.688, allocations: 87.47 kB / 3.061 GB, free: 393.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000981/6.689, allocations: 210.9 kB / 3.061 GB, free: 393.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001884/6.691, allocations: 1.531 MB / 3.062 GB, free: 392.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009536/6.692, allocations: 116.5 kB / 3.063 GB, free: 392.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-05/6.692, allocations: 39.5 kB / 3.063 GB, free: 392.2 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 () * 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.0002302/6.692, allocations: 162.1 kB / 3.063 GB, free: 392.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/6.692, allocations: 100.4 kB / 3.063 GB, free: 392.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/6.695, allocations: 1.37 MB / 3.064 GB, free: 391.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.484e-05/6.695, allocations: 15.31 kB / 3.064 GB, free: 391.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/6.695, allocations: 2.438 kB / 3.064 GB, free: 391.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/6.695, allocations: 7.5 kB / 3.064 GB, free: 391.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004378/6.7, allocations: 2.57 MB / 3.067 GB, free: 391.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/6.7, allocations: 0 / 3.067 GB, free: 391.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008204/6.701, allocations: 198.1 kB / 3.067 GB, free: 391.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000508/6.701, allocations: 93.2 kB / 3.067 GB, free: 391.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.831e-05/6.701, allocations: 29.12 kB / 3.067 GB, free: 391.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001672/6.703, allocations: 1.546 MB / 3.068 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/6.703, allocations: 5.938 kB / 3.068 GB, free: 390.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/6.705, allocations: 1.134 MB / 3.07 GB, free: 390 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006484/6.706, allocations: 365.1 kB / 3.07 GB, free: 389.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/6.706, allocations: 21.31 kB / 3.07 GB, free: 389.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007237/6.707, allocations: 67.45 kB / 3.07 GB, free: 389.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001834/6.707, allocations: 84.52 kB / 3.07 GB, free: 389.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.19e-05/6.707, allocations: 41.78 kB / 3.07 GB, free: 389.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0009989/6.708, allocations: 0.6154 MB / 3.071 GB, free: 389.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.633e-06/6.708, allocations: 0 / 3.071 GB, free: 389.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001807/6.71, allocations: 475.4 kB / 3.071 GB, free: 389.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) * 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.004755/6.715, allocations: 2.605 MB / 3.074 GB, free: 388.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002183/6.717, allocations: 0.9556 MB / 3.075 GB, free: 387.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/6.717, allocations: 1.312 kB / 3.075 GB, free: 387.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001192/6.718, allocations: 0.5826 MB / 3.075 GB, free: 387.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/6.72, allocations: 259.1 kB / 3.075 GB, free: 387.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00596/6.726, allocations: 2.116 MB / 3.078 GB, free: 386.6 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008646/6.727, allocations: 1.192 MB / 3.079 GB, free: 385.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001126/6.728, allocations: 305.4 kB / 3.079 GB, free: 385.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007558/6.729, allocations: 0.5388 MB / 3.08 GB, free: 385.5 MB / 1.167 GB Notification: Performance of SimCode: time 2.044e-06/6.729, allocations: 1.656 kB / 3.08 GB, free: 385.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06753/6.796, allocations: 37.32 MB / 3.116 GB, free: 379.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/6.796, allocations: 245.9 kB / 3.116 GB, free: 378.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.094/9.89, allocations: 0 / 3.116 GB, free: 378.7 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