Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.601/2.601, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001286/0.001286, allocations: 183.9 kB / 0.4901 GB, free: 2.223 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.453/1.453, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.001024/0.001024, allocations: 104.1 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003666, allocations: 12.5 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3093, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.422/4.732, allocations: 1.731 GB / 2.961 GB, free: 255.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/4.732, allocations: 99.94 kB / 2.961 GB, free: 255.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1215/4.854, allocations: 59.53 MB / 3.019 GB, free: 195.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.675e-06/4.854, allocations: 4 kB / 3.019 GB, free: 195.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.96e-05/4.854, allocations: 23.94 kB / 3.019 GB, free: 195.3 MB / 1.167 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.002016/4.856, allocations: 1.183 MB / 3.02 GB, free: 194.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/4.856, allocations: 8.031 kB / 3.02 GB, free: 194.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/4.856, allocations: 130.9 kB / 3.02 GB, free: 193.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007928/4.857, allocations: 182.6 kB / 3.02 GB, free: 193.8 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008276/4.858, allocations: 0.6113 MB / 3.021 GB, free: 193.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/4.858, allocations: 62 kB / 3.021 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.324e-05/4.858, allocations: 76 kB / 3.021 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/4.859, allocations: 0.8638 MB / 3.022 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/4.859, allocations: 0 / 3.022 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/4.859, allocations: 39.95 kB / 3.022 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/4.859, allocations: 20 kB / 3.022 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/4.86, allocations: 1.073 MB / 3.023 GB, free: 190.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/4.864, allocations: 2.409 MB / 3.025 GB, free: 188.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/4.865, allocations: 0.8097 MB / 3.026 GB, free: 187.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-05/4.865, allocations: 32.59 kB / 3.026 GB, free: 187.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006084/4.865, allocations: 423.2 kB / 3.027 GB, free: 187.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=72): time 2.635e-06/4.865, allocations: 0 / 3.027 GB, free: 187.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=72): time 0.002668/4.868, allocations: 1.101 MB / 3.028 GB, free: 186 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/4.868, allocations: 244 kB / 3.028 GB, free: 185.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/4.869, allocations: 0.5776 MB / 3.029 GB, free: 185.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 5.487e-05/4.869, allocations: 41.7 kB / 3.029 GB, free: 185.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/4.869, allocations: 372.3 kB / 3.029 GB, free: 184.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/4.869, allocations: 240.5 kB / 3.029 GB, free: 184.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/4.869, allocations: 16 kB / 3.029 GB, free: 184.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.52e-05/4.869, allocations: 378.8 kB / 3.03 GB, free: 184.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/4.87, allocations: 213.2 kB / 3.03 GB, free: 183.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000418/4.87, allocations: 331.6 kB / 3.03 GB, free: 183.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/4.871, allocations: 259.1 kB / 3.03 GB, free: 183.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/4.871, allocations: 4 kB / 3.03 GB, free: 183.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001455/4.872, allocations: 0.7236 MB / 3.031 GB, free: 182.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/4.872, allocations: 11.94 kB / 3.031 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/4.872, allocations: 0 / 3.031 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/4.873, allocations: 80.84 kB / 3.031 GB, free: 182.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/4.873, allocations: 139.8 kB / 3.031 GB, free: 182.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0017/4.875, allocations: 1.535 MB / 3.033 GB, free: 180.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/4.876, allocations: 83.36 kB / 3.033 GB, free: 180.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/4.876, allocations: 27.98 kB / 3.033 GB, free: 180.5 MB / 1.167 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 () * Number of clocked 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.0003687/4.876, allocations: 256 kB / 3.033 GB, free: 180.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/4.876, allocations: 75.06 kB / 3.033 GB, free: 180.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002044/4.878, allocations: 1.018 MB / 3.034 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/4.878, allocations: 8 kB / 3.034 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/4.878, allocations: 0 / 3.034 GB, free: 179.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/4.878, allocations: 11.94 kB / 3.034 GB, free: 179.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002874/4.881, allocations: 1.907 MB / 3.036 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/4.881, allocations: 0 / 3.036 GB, free: 177.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/4.882, allocations: 143.8 kB / 3.036 GB, free: 177 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005135/4.882, allocations: 84.77 kB / 3.036 GB, free: 176.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-05/4.882, allocations: 23.98 kB / 3.036 GB, free: 176.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001503/4.884, allocations: 1.563 MB / 3.038 GB, free: 175.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/4.884, allocations: 0 / 3.038 GB, free: 175.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/4.885, allocations: 0.9182 MB / 3.039 GB, free: 174.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/4.886, allocations: 295.7 kB / 3.039 GB, free: 174 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/4.886, allocations: 19.98 kB / 3.039 GB, free: 174 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005992/4.886, allocations: 63.95 kB / 3.039 GB, free: 173.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/4.887, allocations: 64.86 kB / 3.039 GB, free: 173.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/4.887, allocations: 31.98 kB / 3.039 GB, free: 173.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005622/4.887, allocations: 483 kB / 3.04 GB, free: 173.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/4.887, allocations: 0 / 3.04 GB, free: 173.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001124/4.888, allocations: 355.2 kB / 3.04 GB, free: 173 MB / 1.167 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) * Number of clocked states: 0 () * 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.003744/4.892, allocations: 2.437 MB / 3.042 GB, free: 170.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001368/4.894, allocations: 0.7199 MB / 3.043 GB, free: 170 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/4.894, allocations: 0 / 3.043 GB, free: 170 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007705/4.894, allocations: 496.4 kB / 3.044 GB, free: 169.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/4.895, allocations: 236.9 kB / 3.044 GB, free: 169.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009277/4.905, allocations: 5.001 MB / 3.049 GB, free: 164.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005085/4.905, allocations: 1.023 MB / 3.05 GB, free: 163.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008376/4.906, allocations: 250 kB / 3.05 GB, free: 162.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/4.907, allocations: 359.3 kB / 3.05 GB, free: 162.5 MB / 1.167 GB Notification: Performance of SimCode: time 8.12e-07/4.907, allocations: 0 / 3.05 GB, free: 162.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05276/4.959, allocations: 29.18 MB / 3.079 GB, free: 133.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001665/4.96, allocations: 282.8 kB / 3.079 GB, free: 133.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/8.037, allocations: 0 / 3.079 GB, free: 133.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle_fmu --startTime=100000 --stopTime=300000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat does not exist to compare? outputFormat=mat