Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001109/0.001109, allocations: 180.8 kB / 487.4 MB, free: 5.031 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.641/1.641, allocations: 221.5 MB / 0.7824 GB, free: 0.9023 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.0008863/0.0008863, allocations: 95.72 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.375e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2955, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.704/5, allocations: 1.731 GB / 2.937 GB, free: 152.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/5, allocations: 96.94 kB / 2.937 GB, free: 152.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1235/5.124, allocations: 58.87 MB / 2.995 GB, free: 93.03 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.583e-06/5.124, allocations: 4 kB / 2.995 GB, free: 93.02 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.967e-05/5.124, allocations: 24 kB / 2.995 GB, free: 93 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001816/5.126, allocations: 1.083 MB / 2.996 GB, free: 91.87 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/5.126, allocations: 12.03 kB / 2.996 GB, free: 91.86 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008389/5.126, allocations: 190.5 kB / 2.996 GB, free: 91.67 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008684/5.127, allocations: 0.6114 MB / 2.997 GB, free: 91.02 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.535e-05/5.127, allocations: 24 kB / 2.997 GB, free: 90.99 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.974e-05/5.127, allocations: 48 kB / 2.997 GB, free: 90.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001216/5.129, allocations: 1.007 MB / 2.998 GB, free: 89.94 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/5.13, allocations: 0.7466 MB / 2.998 GB, free: 89.15 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/5.13, allocations: 0 / 2.998 GB, free: 89.15 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.733e-05/5.13, allocations: 7.953 kB / 2.998 GB, free: 89.14 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/5.13, allocations: 20 kB / 2.998 GB, free: 89.12 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003141/5.133, allocations: 2.38 MB / 3.001 GB, free: 86.69 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008685/5.134, allocations: 0.66 MB / 3.001 GB, free: 86.01 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/5.134, allocations: 252.2 kB / 3.002 GB, free: 85.76 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-05/5.134, allocations: 36.81 kB / 3.002 GB, free: 85.73 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005157/5.135, allocations: 399.7 kB / 3.002 GB, free: 85.32 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.194e-06/5.135, allocations: 0 / 3.002 GB, free: 85.32 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.00149/5.136, allocations: 0.6719 MB / 3.003 GB, free: 84.64 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/5.136, allocations: 244.1 kB / 3.003 GB, free: 84.34 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005182/5.137, allocations: 0.4983 MB / 3.003 GB, free: 83.84 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.261e-05/5.137, allocations: 29.7 kB / 3.003 GB, free: 83.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/5.137, allocations: 384.2 kB / 3.004 GB, free: 83.42 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/5.137, allocations: 240.3 kB / 3.004 GB, free: 83.18 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/5.137, allocations: 4 kB / 3.004 GB, free: 83.18 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.605e-05/5.137, allocations: 374.8 kB / 3.004 GB, free: 82.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/5.138, allocations: 197.5 kB / 3.005 GB, free: 82.61 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003043/5.138, allocations: 299.5 kB / 3.005 GB, free: 82.29 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/5.138, allocations: 252.4 kB / 3.005 GB, free: 82.04 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/5.138, allocations: 3.938 kB / 3.005 GB, free: 82.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001244/5.14, allocations: 0.672 MB / 3.006 GB, free: 81.36 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/5.14, allocations: 4 kB / 3.006 GB, free: 81.35 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/5.14, allocations: 4 kB / 3.006 GB, free: 81.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005891/5.14, allocations: 84.83 kB / 3.006 GB, free: 81.26 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005823/5.141, allocations: 147.8 kB / 3.006 GB, free: 81.12 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001465/5.142, allocations: 1.462 MB / 3.007 GB, free: 79.53 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/5.143, allocations: 59.48 kB / 3.007 GB, free: 79.47 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/5.143, allocations: 31.98 kB / 3.008 GB, free: 79.44 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 (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.0001421/5.143, allocations: 120.9 kB / 3.008 GB, free: 79.31 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001255/5.144, allocations: 0.6719 MB / 3.008 GB, free: 78.63 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/5.144, allocations: 71.16 kB / 3.008 GB, free: 78.56 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001801/5.146, allocations: 0.9463 MB / 3.009 GB, free: 77.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/5.146, allocations: 8 kB / 3.009 GB, free: 77.59 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/5.146, allocations: 0 / 3.009 GB, free: 77.59 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/5.146, allocations: 7.984 kB / 3.009 GB, free: 77.58 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/5.149, allocations: 1.717 MB / 3.011 GB, free: 75.82 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/5.149, allocations: 7.938 kB / 3.011 GB, free: 75.81 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006786/5.15, allocations: 151.8 kB / 3.011 GB, free: 75.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005594/5.15, allocations: 80.78 kB / 3.011 GB, free: 75.58 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.139e-05/5.15, allocations: 15.98 kB / 3.011 GB, free: 75.56 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/5.152, allocations: 1.477 MB / 3.013 GB, free: 73.96 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/5.152, allocations: 208 / 3.013 GB, free: 73.96 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/5.153, allocations: 0.8377 MB / 3.013 GB, free: 73.11 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/5.154, allocations: 283.8 kB / 3.014 GB, free: 72.81 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-05/5.154, allocations: 3.938 kB / 3.014 GB, free: 72.81 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005259/5.154, allocations: 51.91 kB / 3.014 GB, free: 72.76 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/5.155, allocations: 64.69 kB / 3.014 GB, free: 72.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.206e-05/5.155, allocations: 31.98 kB / 3.014 GB, free: 72.66 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004381/5.155, allocations: 418.9 kB / 3.014 GB, free: 72.26 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/5.155, allocations: 0 / 3.014 GB, free: 72.26 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00108/5.156, allocations: 327 kB / 3.015 GB, free: 71.94 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 (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.003037/5.159, allocations: 2.364 MB / 3.017 GB, free: 69.66 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001068/5.16, allocations: 0.6672 MB / 3.018 GB, free: 68.98 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/5.16, allocations: 4 kB / 3.018 GB, free: 68.98 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005719/5.161, allocations: 448.6 kB / 3.018 GB, free: 68.53 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/5.162, allocations: 223.4 kB / 3.018 GB, free: 68.32 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/5.166, allocations: 1.502 MB / 3.02 GB, free: 66.78 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/5.166, allocations: 1.027 MB / 3.021 GB, free: 65.71 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008021/5.167, allocations: 257.9 kB / 3.021 GB, free: 65.46 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004493/5.167, allocations: 363.3 kB / 3.021 GB, free: 65.11 MB / 1.151 GB Notification: Performance of SimCode: time 5.71e-07/5.167, allocations: 0 / 3.021 GB, free: 65.11 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05015/5.218, allocations: 23.46 MB / 3.044 GB, free: 41.79 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/5.218, allocations: 208.1 kB / 3.044 GB, free: 41.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.233/8.45, allocations: 3.594 kB / 3.044 GB, free: 41.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat does not exist to compare? outputFormat=mat