Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.27/2.27, allocations: 390.3 MB / 402.8 MB, free: 6.703 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.00114/0.00114, allocations: 176.9 kB / 496.1 MB, free: 12.89 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.546/1.546, allocations: 221.3 MB / 0.7915 GB, free: 5.457 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.0009741/0.0009742, allocations: 91.95 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.993e-05/5.027e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3395, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.154/5.494, allocations: 1.731 GB / 2.95 GB, free: 47.39 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/5.494, allocations: 84.83 kB / 2.95 GB, free: 47.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.005/6.499, allocations: 63.45 MB / 3.012 GB, free: 391.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.296e-06/6.499, allocations: 0 / 3.012 GB, free: 391.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002103/6.499, allocations: 20.05 kB / 3.012 GB, free: 391.6 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.004397/6.504, allocations: 1.063 MB / 3.013 GB, free: 391.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 8.558e-05/6.504, allocations: 9.094 kB / 3.013 GB, free: 391.1 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006081/6.504, allocations: 127.7 kB / 3.013 GB, free: 391 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/6.506, allocations: 182 kB / 3.014 GB, free: 391 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002164/6.508, allocations: 0.6063 MB / 3.014 GB, free: 390.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/6.508, allocations: 56.5 kB / 3.014 GB, free: 390.7 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002534/6.509, allocations: 79.72 kB / 3.014 GB, free: 390.7 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002303/6.511, allocations: 0.8209 MB / 3.015 GB, free: 390.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/6.511, allocations: 4.531 kB / 3.015 GB, free: 390.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/6.511, allocations: 41.2 kB / 3.015 GB, free: 390.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.212e-05/6.511, allocations: 19.22 kB / 3.015 GB, free: 390.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002486/6.514, allocations: 1.016 MB / 3.016 GB, free: 390.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0053/6.519, allocations: 2.428 MB / 3.018 GB, free: 389.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/6.521, allocations: 0.7648 MB / 3.019 GB, free: 389.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/6.521, allocations: 259.6 kB / 3.019 GB, free: 389.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/6.521, allocations: 29.08 kB / 3.019 GB, free: 389.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008589/6.522, allocations: 403.9 kB / 3.02 GB, free: 389.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 3.297e-06/6.522, allocations: 0 / 3.02 GB, free: 389.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.002205/6.524, allocations: 0.6773 MB / 3.021 GB, free: 389.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/6.525, allocations: 246.6 kB / 3.021 GB, free: 389.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/6.526, allocations: 0.5739 MB / 3.021 GB, free: 389.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-05/6.526, allocations: 37.67 kB / 3.021 GB, free: 389.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/6.526, allocations: 371.2 kB / 3.022 GB, free: 388.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/6.526, allocations: 232.5 kB / 3.022 GB, free: 388.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/6.526, allocations: 13 kB / 3.022 GB, free: 388.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000195/6.527, allocations: 378.8 kB / 3.022 GB, free: 388.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/6.527, allocations: 194.5 kB / 3.023 GB, free: 388.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005872/6.528, allocations: 305.3 kB / 3.023 GB, free: 388.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/6.528, allocations: 244.3 kB / 3.023 GB, free: 388.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/6.528, allocations: 0.6875 kB / 3.023 GB, free: 388.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001782/6.53, allocations: 0.6801 MB / 3.024 GB, free: 388.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 3.988e-05/6.53, allocations: 9.078 kB / 3.024 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/6.53, allocations: 7.688 kB / 3.024 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006565/6.531, allocations: 82.89 kB / 3.024 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006493/6.531, allocations: 138.9 kB / 3.024 GB, free: 388.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/6.534, allocations: 1.52 MB / 3.025 GB, free: 386.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/6.534, allocations: 81.45 kB / 3.025 GB, free: 386.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/6.534, allocations: 30.58 kB / 3.026 GB, free: 386.9 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 (72): * Single equations (assignments): 71 * 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.000218/6.535, allocations: 138.6 kB / 3.026 GB, free: 386.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001781/6.535, allocations: 78.58 kB / 3.026 GB, free: 386.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/6.537, allocations: 0.9377 MB / 3.027 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/6.537, allocations: 8.469 kB / 3.027 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/6.537, allocations: 0 / 3.027 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/6.537, allocations: 7.578 kB / 3.027 GB, free: 386.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/6.541, allocations: 1.847 MB / 3.028 GB, free: 386.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/6.541, allocations: 1.062 kB / 3.028 GB, free: 386.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/6.542, allocations: 143.6 kB / 3.029 GB, free: 386.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005336/6.542, allocations: 87.02 kB / 3.029 GB, free: 386.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.205e-05/6.542, allocations: 20.92 kB / 3.029 GB, free: 386.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/6.544, allocations: 1.555 MB / 3.03 GB, free: 385 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/6.544, allocations: 0 / 3.03 GB, free: 385 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/6.546, allocations: 0.8547 MB / 3.031 GB, free: 384.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005083/6.547, allocations: 282.1 kB / 3.031 GB, free: 384.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/6.547, allocations: 20.09 kB / 3.031 GB, free: 384.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00062/6.548, allocations: 66.5 kB / 3.031 GB, free: 384.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/6.548, allocations: 58.75 kB / 3.031 GB, free: 384.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.156e-05/6.548, allocations: 31.98 kB / 3.031 GB, free: 384.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0008592/6.549, allocations: 474.3 kB / 3.032 GB, free: 384.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/6.549, allocations: 0 / 3.032 GB, free: 384.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001697/6.55, allocations: 353.3 kB / 3.032 GB, free: 384.4 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 (81): * Single equations (assignments): 78 * 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.004701/6.555, allocations: 2.337 MB / 3.035 GB, free: 383.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001629/6.557, allocations: 0.6671 MB / 3.035 GB, free: 383.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/6.557, allocations: 4.062 kB / 3.035 GB, free: 383.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008666/6.558, allocations: 470.4 kB / 3.036 GB, free: 382.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/6.559, allocations: 236.1 kB / 3.036 GB, free: 382.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004822/6.564, allocations: 1.531 MB / 3.037 GB, free: 382.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008226/6.565, allocations: 1.017 MB / 3.038 GB, free: 381.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001035/6.566, allocations: 255.7 kB / 3.039 GB, free: 381.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00057/6.566, allocations: 337.4 kB / 3.039 GB, free: 381.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.703e-06/6.566, allocations: 0 / 3.039 GB, free: 381.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08654/6.653, allocations: 30.71 MB / 3.069 GB, free: 375.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002365/6.653, allocations: 240.4 kB / 3.069 GB, free: 374.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.995/9.648, allocations: 3.75 kB / 3.069 GB, free: 374.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat