Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.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.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle",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.336/2.336, allocations: 387.1 MB / 399.7 MB, free: 9.422 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.001241/0.001241, allocations: 188.2 kB / 492.3 MB, free: 0.5977 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.511/1.511, allocations: 221.3 MB / 0.7872 GB, free: 12.86 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.0009856/0.0009856, allocations: 101.9 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.249e-05/4.29e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2658/0.2659, allocations: 142.3 MB / 1.212 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.101/4.367, allocations: 1.73 GB / 2.943 GB, free: 134.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/4.367, allocations: 87.95 kB / 2.943 GB, free: 134.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1382/4.505, allocations: 63.45 MB / 3.005 GB, free: 70.62 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.474e-06/4.505, allocations: 0 / 3.005 GB, free: 70.62 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001395/4.505, allocations: 19.94 kB / 3.005 GB, free: 70.61 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.002718/4.508, allocations: 1.059 MB / 3.006 GB, free: 69.5 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/4.508, allocations: 12.03 kB / 3.006 GB, free: 69.49 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000231/4.508, allocations: 126.8 kB / 3.006 GB, free: 69.36 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/4.509, allocations: 182.6 kB / 3.006 GB, free: 69.18 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/4.511, allocations: 0.6075 MB / 3.007 GB, free: 68.52 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/4.511, allocations: 58 kB / 3.007 GB, free: 68.46 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/4.511, allocations: 76 kB / 3.007 GB, free: 68.39 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/4.512, allocations: 0.821 MB / 3.008 GB, free: 67.53 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/4.512, allocations: 0 / 3.008 GB, free: 67.53 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.392e-05/4.512, allocations: 36 kB / 3.008 GB, free: 67.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/4.512, allocations: 27.89 kB / 3.008 GB, free: 67.47 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001359/4.514, allocations: 1.019 MB / 3.009 GB, free: 66.45 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/4.517, allocations: 2.43 MB / 3.011 GB, free: 63.95 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/4.518, allocations: 0.768 MB / 3.012 GB, free: 63.16 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/4.519, allocations: 266.4 kB / 3.012 GB, free: 62.89 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.625e-05/4.519, allocations: 32.58 kB / 3.012 GB, free: 62.86 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005637/4.519, allocations: 394.9 kB / 3.013 GB, free: 62.46 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 2.364e-06/4.519, allocations: 0 / 3.013 GB, free: 62.46 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001488/4.521, allocations: 0.6746 MB / 3.013 GB, free: 61.77 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/4.521, allocations: 243.9 kB / 3.014 GB, free: 61.48 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006732/4.522, allocations: 0.5775 MB / 3.014 GB, free: 60.89 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.64e-05/4.522, allocations: 37.7 kB / 3.014 GB, free: 60.85 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/4.522, allocations: 372.3 kB / 3.015 GB, free: 60.48 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000151/4.522, allocations: 236.6 kB / 3.015 GB, free: 60.25 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/4.522, allocations: 8 kB / 3.015 GB, free: 60.24 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001178/4.522, allocations: 382.8 kB / 3.015 GB, free: 59.86 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/4.522, allocations: 193.5 kB / 3.015 GB, free: 59.66 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003632/4.523, allocations: 301 kB / 3.016 GB, free: 59.34 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/4.523, allocations: 250 kB / 3.016 GB, free: 59.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/4.523, allocations: 0 / 3.016 GB, free: 59.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001407/4.525, allocations: 0.6797 MB / 3.017 GB, free: 58.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/4.525, allocations: 9.25 kB / 3.017 GB, free: 58.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/4.525, allocations: 0 / 3.017 GB, free: 58.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/4.525, allocations: 80.84 kB / 3.017 GB, free: 58.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/4.526, allocations: 135.8 kB / 3.017 GB, free: 58.18 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001773/4.528, allocations: 1.526 MB / 3.018 GB, free: 56.51 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000637/4.528, allocations: 83.33 kB / 3.018 GB, free: 56.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/4.528, allocations: 27.98 kB / 3.018 GB, free: 56.4 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.0001817/4.529, allocations: 146.3 kB / 3.019 GB, free: 56.25 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/4.529, allocations: 79.06 kB / 3.019 GB, free: 56.18 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001903/4.531, allocations: 0.9302 MB / 3.019 GB, free: 55.23 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/4.531, allocations: 15.94 kB / 3.02 GB, free: 55.21 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/4.531, allocations: 3.984 kB / 3.02 GB, free: 55.21 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/4.531, allocations: 3.984 kB / 3.02 GB, free: 55.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002722/4.533, allocations: 1.847 MB / 3.021 GB, free: 53.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/4.533, allocations: 3.938 kB / 3.021 GB, free: 53.29 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/4.534, allocations: 139.8 kB / 3.021 GB, free: 53.16 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/4.534, allocations: 92.75 kB / 3.022 GB, free: 53.06 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/4.534, allocations: 19.98 kB / 3.022 GB, free: 53.04 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/4.536, allocations: 1.544 MB / 3.023 GB, free: 51.36 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/4.536, allocations: 4.031 kB / 3.023 GB, free: 51.36 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/4.537, allocations: 0.8572 MB / 3.024 GB, free: 50.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/4.538, allocations: 283.8 kB / 3.024 GB, free: 50.18 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/4.538, allocations: 16 kB / 3.024 GB, free: 50.17 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/4.538, allocations: 63.95 kB / 3.024 GB, free: 50.11 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/4.538, allocations: 60.69 kB / 3.024 GB, free: 50.05 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/4.539, allocations: 32.05 kB / 3.024 GB, free: 50.02 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005036/4.539, allocations: 475.1 kB / 3.025 GB, free: 49.56 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.232e-06/4.539, allocations: 0 / 3.025 GB, free: 49.56 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001042/4.54, allocations: 359 kB / 3.025 GB, free: 49.21 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.00327/4.543, allocations: 2.321 MB / 3.027 GB, free: 47.02 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001113/4.545, allocations: 0.6708 MB / 3.028 GB, free: 46.33 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/4.545, allocations: 4 kB / 3.028 GB, free: 46.33 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006324/4.545, allocations: 462.8 kB / 3.029 GB, free: 45.86 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/4.546, allocations: 244.3 kB / 3.029 GB, free: 45.62 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/4.55, allocations: 1.521 MB / 3.03 GB, free: 44.06 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/4.551, allocations: 1.016 MB / 3.031 GB, free: 43.02 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008089/4.551, allocations: 249.9 kB / 3.031 GB, free: 42.77 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005045/4.552, allocations: 347.3 kB / 3.032 GB, free: 42.43 MB / 1.151 GB Notification: Performance of SimCode: time 7.41e-07/4.552, allocations: 0 / 3.032 GB, free: 42.43 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05466/4.607, allocations: 30.7 MB / 3.062 GB, free: 12.01 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/4.607, allocations: 237.6 kB / 3.062 GB, free: 11.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.105/7.711, allocations: 3.938 kB / 3.062 GB, free: 11.69 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat