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.118/2.118, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001309/0.001309, allocations: 184.8 kB / 487.4 MB, free: 5.035 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.496/1.496, allocations: 221.5 MB / 0.7824 GB, free: 1 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008314/0.0008314, allocations: 91.91 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.903e-05/1.905e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2938, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.857/5.151, allocations: 1.732 GB / 2.938 GB, free: 151.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/5.151, allocations: 84.52 kB / 2.938 GB, free: 151.6 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1994/5.351, allocations: 93.47 MB / 3.029 GB, free: 57.86 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.913e-06/5.351, allocations: 0 / 3.029 GB, free: 57.86 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.818e-05/5.351, allocations: 35.94 kB / 3.029 GB, free: 57.82 MB / 1.151 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.002195/5.353, allocations: 1.404 MB / 3.03 GB, free: 56.37 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/5.353, allocations: 12.03 kB / 3.03 GB, free: 56.36 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008979/5.354, allocations: 249.7 kB / 3.031 GB, free: 56.11 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/5.355, allocations: 0.7677 MB / 3.031 GB, free: 55.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/5.355, allocations: 48 kB / 3.031 GB, free: 55.25 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/5.355, allocations: 83.94 kB / 3.031 GB, free: 55.17 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001847/5.357, allocations: 1.376 MB / 3.033 GB, free: 53.79 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/5.359, allocations: 1.177 MB / 3.034 GB, free: 52.56 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/5.359, allocations: 0 / 3.034 GB, free: 52.56 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.664e-05/5.359, allocations: 3.953 kB / 3.034 GB, free: 52.55 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/5.359, allocations: 36 kB / 3.034 GB, free: 52.52 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005582/5.365, allocations: 3.573 MB / 3.038 GB, free: 48.89 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/5.366, allocations: 0.8482 MB / 3.038 GB, free: 48.02 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004124/5.366, allocations: 349.8 kB / 3.039 GB, free: 47.68 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.874e-05/5.366, allocations: 49.38 kB / 3.039 GB, free: 47.64 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007142/5.367, allocations: 0.5303 MB / 3.039 GB, free: 47.09 MB / 1.151 GB Notification: Performance of pre-optimization done (n=104): time 2.305e-06/5.367, allocations: 3.938 kB / 3.039 GB, free: 47.08 MB / 1.151 GB Notification: Performance of matching and sorting (n=104): time 0.001908/5.369, allocations: 0.9068 MB / 3.04 GB, free: 46.16 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/5.369, allocations: 252.6 kB / 3.04 GB, free: 45.86 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006629/5.37, allocations: 0.5856 MB / 3.041 GB, free: 45.27 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/5.37, allocations: 29.7 kB / 3.041 GB, free: 45.23 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003623/5.37, allocations: 0.5581 MB / 3.042 GB, free: 44.67 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000211/5.37, allocations: 335 kB / 3.042 GB, free: 44.34 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/5.37, allocations: 0 / 3.042 GB, free: 44.34 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001167/5.37, allocations: 390.8 kB / 3.042 GB, free: 43.95 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/5.371, allocations: 298.6 kB / 3.042 GB, free: 43.65 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000445/5.371, allocations: 420.3 kB / 3.043 GB, free: 43.21 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005236/5.372, allocations: 370.4 kB / 3.043 GB, free: 42.86 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/5.372, allocations: 4 kB / 3.043 GB, free: 42.85 MB / 1.151 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00186/5.374, allocations: 0.9575 MB / 3.044 GB, free: 41.88 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/5.374, allocations: 4 kB / 3.044 GB, free: 41.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/5.374, allocations: 4.062 kB / 3.044 GB, free: 41.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006068/5.374, allocations: 80.78 kB / 3.044 GB, free: 41.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008691/5.375, allocations: 215.7 kB / 3.044 GB, free: 41.58 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001709/5.377, allocations: 1.481 MB / 3.046 GB, free: 39.97 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009289/5.378, allocations: 75.34 kB / 3.046 GB, free: 39.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.295e-05/5.378, allocations: 43.95 kB / 3.046 GB, free: 39.86 MB / 1.151 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.0002349/5.378, allocations: 128.7 kB / 3.046 GB, free: 39.72 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001798/5.38, allocations: 0.9106 MB / 3.047 GB, free: 38.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/5.38, allocations: 90.88 kB / 3.047 GB, free: 38.71 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/5.383, allocations: 1.284 MB / 3.048 GB, free: 37.41 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/5.383, allocations: 12 kB / 3.048 GB, free: 37.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/5.383, allocations: 0 / 3.048 GB, free: 37.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/5.383, allocations: 7.984 kB / 3.048 GB, free: 37.39 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00396/5.387, allocations: 2.331 MB / 3.051 GB, free: 35.01 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/5.387, allocations: 0 / 3.051 GB, free: 35.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007913/5.388, allocations: 187.7 kB / 3.051 GB, free: 34.83 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005029/5.388, allocations: 88.77 kB / 3.051 GB, free: 34.74 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/5.388, allocations: 27.92 kB / 3.051 GB, free: 34.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/5.39, allocations: 1.488 MB / 3.052 GB, free: 33.11 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/5.39, allocations: 3.953 kB / 3.052 GB, free: 33.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/5.392, allocations: 1.067 MB / 3.053 GB, free: 32.01 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/5.392, allocations: 347.3 kB / 3.054 GB, free: 31.65 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/5.393, allocations: 7.953 kB / 3.054 GB, free: 31.64 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006602/5.393, allocations: 55.94 kB / 3.054 GB, free: 31.59 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/5.393, allocations: 77.2 kB / 3.054 GB, free: 31.51 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/5.394, allocations: 35.98 kB / 3.054 GB, free: 31.48 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005794/5.394, allocations: 0.4952 MB / 3.054 GB, free: 30.98 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/5.394, allocations: 4 kB / 3.054 GB, free: 30.98 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001319/5.395, allocations: 434.4 kB / 3.055 GB, free: 30.55 MB / 1.151 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.003635/5.399, allocations: 2.6 MB / 3.057 GB, free: 28.04 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001468/5.401, allocations: 0.9099 MB / 3.058 GB, free: 27.12 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/5.401, allocations: 0 / 3.058 GB, free: 27.12 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006986/5.401, allocations: 0.5572 MB / 3.059 GB, free: 26.56 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/5.402, allocations: 234.8 kB / 3.059 GB, free: 26.34 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004507/5.407, allocations: 2.01 MB / 3.061 GB, free: 24.28 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005245/5.408, allocations: 1.193 MB / 3.062 GB, free: 23.06 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009333/5.408, allocations: 287.7 kB / 3.062 GB, free: 22.77 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006375/5.409, allocations: 0.5461 MB / 3.063 GB, free: 22.23 MB / 1.151 GB Notification: Performance of SimCode: time 1.212e-06/5.409, allocations: 0 / 3.063 GB, free: 22.23 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8002/6.209, allocations: 28.76 MB / 3.091 GB, free: 383.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/6.21, allocations: 189 kB / 3.091 GB, free: 383 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.038/9.248, allocations: 0 / 3.091 GB, free: 383 MB / 1.151 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