Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_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.569/2.569, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001202/0.001202, allocations: 172.9 kB / 492.3 MB, free: 0.6094 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.665/1.665, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008661/0.0008661, allocations: 94.02 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.449e-05/4.451e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3273, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.394/5.721, allocations: 1.731 GB / 2.943 GB, free: 108.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/5.722, allocations: 96.5 kB / 2.943 GB, free: 108.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1318/5.853, allocations: 59.23 MB / 3.001 GB, free: 54.46 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.404e-06/5.853, allocations: 0 / 3.001 GB, free: 54.46 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001184/5.853, allocations: 31.94 kB / 3.001 GB, free: 54.43 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: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.002666/5.856, allocations: 1.063 MB / 3.002 GB, free: 53.32 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/5.856, allocations: 8.031 kB / 3.002 GB, free: 53.31 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002855/5.857, allocations: 130.9 kB / 3.002 GB, free: 53.18 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/5.858, allocations: 190.5 kB / 3.002 GB, free: 52.99 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/5.859, allocations: 0.6075 MB / 3.003 GB, free: 52.34 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.958e-05/5.859, allocations: 58 kB / 3.003 GB, free: 52.28 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/5.859, allocations: 79.98 kB / 3.003 GB, free: 52.2 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/5.861, allocations: 0.8327 MB / 3.004 GB, free: 51.33 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/5.861, allocations: 0 / 3.004 GB, free: 51.33 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.968e-05/5.861, allocations: 32 kB / 3.004 GB, free: 51.3 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/5.861, allocations: 23.95 kB / 3.004 GB, free: 51.27 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/5.862, allocations: 1.023 MB / 3.005 GB, free: 50.25 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003643/5.866, allocations: 2.418 MB / 3.007 GB, free: 47.77 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/5.867, allocations: 0.7545 MB / 3.008 GB, free: 46.98 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/5.867, allocations: 262.4 kB / 3.008 GB, free: 46.72 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 8.888e-05/5.867, allocations: 37.62 kB / 3.008 GB, free: 46.69 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000568/5.868, allocations: 409.1 kB / 3.009 GB, free: 46.27 MB / 1.151 GB Notification: Performance of pre-optimization done (n=72): time 3.056e-06/5.868, allocations: 0 / 3.009 GB, free: 46.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=72): time 0.001531/5.87, allocations: 0.6836 MB / 3.009 GB, free: 45.57 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.089e-05/5.87, allocations: 244.1 kB / 3.01 GB, free: 45.28 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/5.87, allocations: 0.5738 MB / 3.01 GB, free: 44.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/5.87, allocations: 41.7 kB / 3.01 GB, free: 44.65 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/5.871, allocations: 372.3 kB / 3.011 GB, free: 44.28 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/5.871, allocations: 244.5 kB / 3.011 GB, free: 44.04 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.145e-05/5.871, allocations: 12 kB / 3.011 GB, free: 44.03 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000103/5.871, allocations: 378.8 kB / 3.011 GB, free: 43.65 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/5.871, allocations: 197.5 kB / 3.011 GB, free: 43.46 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003494/5.872, allocations: 301.1 kB / 3.012 GB, free: 43.13 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/5.872, allocations: 250 kB / 3.012 GB, free: 42.89 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/5.872, allocations: 4 kB / 3.012 GB, free: 42.88 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001336/5.873, allocations: 0.6797 MB / 3.013 GB, free: 42.19 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/5.873, allocations: 9.25 kB / 3.013 GB, free: 42.18 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/5.873, allocations: 4 kB / 3.013 GB, free: 42.18 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/5.874, allocations: 76.84 kB / 3.013 GB, free: 42.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/5.875, allocations: 143.8 kB / 3.013 GB, free: 41.96 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001697/5.876, allocations: 1.512 MB / 3.014 GB, free: 40.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000599/5.877, allocations: 83.33 kB / 3.014 GB, free: 40.22 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.516e-05/5.877, allocations: 27.98 kB / 3.014 GB, free: 40.19 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 (74): * Single equations (assignments): 73 * 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.0001744/5.877, allocations: 144.9 kB / 3.015 GB, free: 40.04 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/5.877, allocations: 79.06 kB / 3.015 GB, free: 39.96 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001912/5.879, allocations: 0.9692 MB / 3.016 GB, free: 38.98 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/5.879, allocations: 12 kB / 3.016 GB, free: 38.97 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/5.879, allocations: 0 / 3.016 GB, free: 38.97 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/5.879, allocations: 11.92 kB / 3.016 GB, free: 38.96 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/5.882, allocations: 1.851 MB / 3.017 GB, free: 37.04 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/5.882, allocations: 0 / 3.017 GB, free: 37.04 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/5.883, allocations: 143.8 kB / 3.018 GB, free: 36.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004684/5.883, allocations: 84.77 kB / 3.018 GB, free: 36.82 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.018e-05/5.883, allocations: 23.98 kB / 3.018 GB, free: 36.79 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/5.885, allocations: 1.552 MB / 3.019 GB, free: 35.11 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/5.885, allocations: 0 / 3.019 GB, free: 35.11 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001412/5.886, allocations: 0.8767 MB / 3.02 GB, free: 34.21 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003777/5.886, allocations: 279.7 kB / 3.02 GB, free: 33.92 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/5.887, allocations: 16 kB / 3.02 GB, free: 33.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005761/5.887, allocations: 67.95 kB / 3.02 GB, free: 33.84 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/5.887, allocations: 60.69 kB / 3.02 GB, free: 33.78 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/5.887, allocations: 31.94 kB / 3.02 GB, free: 33.75 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005305/5.888, allocations: 479.1 kB / 3.021 GB, free: 33.29 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/5.888, allocations: 0 / 3.021 GB, free: 33.29 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001093/5.889, allocations: 355.2 kB / 3.021 GB, free: 32.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 (86): * Single equations (assignments): 83 * 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.003372/5.892, allocations: 2.348 MB / 3.024 GB, free: 30.71 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001136/5.894, allocations: 0.6791 MB / 3.024 GB, free: 30.02 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/5.894, allocations: 0 / 3.024 GB, free: 30.02 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006661/5.894, allocations: 482.8 kB / 3.025 GB, free: 29.54 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/5.895, allocations: 235.9 kB / 3.025 GB, free: 29.31 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003694/5.899, allocations: 1.548 MB / 3.026 GB, free: 27.72 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/5.899, allocations: 1.02 MB / 3.027 GB, free: 26.68 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0007809/5.9, allocations: 254.1 kB / 3.028 GB, free: 26.43 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/5.901, allocations: 347.3 kB / 3.028 GB, free: 26.09 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/5.901, allocations: 0 / 3.028 GB, free: 26.09 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6445/6.545, allocations: 30.87 MB / 3.058 GB, free: 388.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002374/6.545, allocations: 250.4 kB / 3.058 GB, free: 388.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.126/9.671, allocations: 0 / 3.058 GB, free: 388.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat