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.329/2.329, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001291/0.001291, allocations: 177.1 kB / 498.1 MB, free: 5.766 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.498/1.498, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.0008928/0.0008927, allocations: 98.06 kB / 0.9346 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003311/0.0003311, allocations: 6.906 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.26, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.408/4.668, allocations: 1.731 GB / 2.954 GB, free: 288.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/4.669, allocations: 99.94 kB / 2.954 GB, free: 288.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1313/4.8, allocations: 59.54 MB / 3.012 GB, free: 228.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.835e-06/4.8, allocations: 0 / 3.012 GB, free: 228.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001249/4.8, allocations: 24 kB / 3.012 GB, free: 228.6 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.003078/4.803, allocations: 1.183 MB / 3.013 GB, free: 227.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/4.803, allocations: 8.031 kB / 3.013 GB, free: 227.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003762/4.804, allocations: 130.9 kB / 3.013 GB, free: 227.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/4.805, allocations: 182.6 kB / 3.013 GB, free: 227 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001603/4.807, allocations: 0.6192 MB / 3.014 GB, free: 226.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/4.807, allocations: 58 kB / 3.014 GB, free: 226.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/4.807, allocations: 72 kB / 3.014 GB, free: 226.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/4.809, allocations: 0.8638 MB / 3.015 GB, free: 225.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/4.809, allocations: 3.938 kB / 3.015 GB, free: 225.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.621e-05/4.809, allocations: 39.95 kB / 3.015 GB, free: 225.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/4.809, allocations: 20 kB / 3.015 GB, free: 225.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/4.81, allocations: 1.069 MB / 3.016 GB, free: 224.2 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00409/4.815, allocations: 2.403 MB / 3.018 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/4.816, allocations: 0.8096 MB / 3.019 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/4.816, allocations: 28.59 kB / 3.019 GB, free: 220.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006828/4.817, allocations: 435.1 kB / 3.02 GB, free: 220.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=72): time 2.445e-06/4.817, allocations: 0 / 3.02 GB, free: 220.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=72): time 0.002826/4.819, allocations: 1.089 MB / 3.021 GB, free: 219.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.115e-05/4.82, allocations: 244 kB / 3.021 GB, free: 219 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007706/4.82, allocations: 0.5931 MB / 3.021 GB, free: 218.4 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/4.82, allocations: 41.7 kB / 3.021 GB, free: 218.4 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/4.821, allocations: 368.3 kB / 3.022 GB, free: 218 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/4.821, allocations: 240.5 kB / 3.022 GB, free: 217.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/4.821, allocations: 16 kB / 3.022 GB, free: 217.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.75e-05/4.821, allocations: 374.8 kB / 3.022 GB, free: 217.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003587/4.821, allocations: 221.2 kB / 3.023 GB, free: 217.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004279/4.822, allocations: 319.6 kB / 3.023 GB, free: 216.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/4.822, allocations: 267.1 kB / 3.023 GB, free: 216.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/4.822, allocations: 4 kB / 3.023 GB, free: 216.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001542/4.824, allocations: 0.7236 MB / 3.024 GB, free: 215.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/4.824, allocations: 4.938 kB / 3.024 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/4.824, allocations: 4.062 kB / 3.024 GB, free: 215.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/4.824, allocations: 80.78 kB / 3.024 GB, free: 215.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005428/4.825, allocations: 139.8 kB / 3.024 GB, free: 215.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/4.827, allocations: 1.517 MB / 3.026 GB, free: 213.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006224/4.827, allocations: 95.42 kB / 3.026 GB, free: 213.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/4.827, allocations: 23.98 kB / 3.026 GB, free: 213.8 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.0004494/4.828, allocations: 250.8 kB / 3.026 GB, free: 213.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/4.828, allocations: 79.06 kB / 3.026 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/4.83, allocations: 1.025 MB / 3.027 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/4.83, allocations: 11.94 kB / 3.027 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/4.83, allocations: 0 / 3.027 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/4.83, allocations: 7.938 kB / 3.027 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/4.833, allocations: 1.896 MB / 3.029 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/4.833, allocations: 0 / 3.029 GB, free: 210.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005123/4.833, allocations: 151.8 kB / 3.029 GB, free: 210.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005126/4.834, allocations: 84.7 kB / 3.029 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-05/4.834, allocations: 27.98 kB / 3.029 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/4.835, allocations: 1.556 MB / 3.031 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/4.835, allocations: 3.984 kB / 3.031 GB, free: 208.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00158/4.837, allocations: 0.922 MB / 3.032 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003688/4.837, allocations: 291.7 kB / 3.032 GB, free: 207.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/4.837, allocations: 19.98 kB / 3.032 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005487/4.838, allocations: 63.95 kB / 3.032 GB, free: 207.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/4.838, allocations: 64.86 kB / 3.032 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/4.838, allocations: 31.98 kB / 3.032 GB, free: 207.1 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005343/4.839, allocations: 479 kB / 3.033 GB, free: 206.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/4.839, allocations: 0 / 3.033 GB, free: 206.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00113/4.84, allocations: 355.2 kB / 3.033 GB, free: 206.3 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.003612/4.843, allocations: 2.435 MB / 3.035 GB, free: 204 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001352/4.845, allocations: 0.7239 MB / 3.036 GB, free: 203.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/4.845, allocations: 0 / 3.036 GB, free: 203.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007883/4.846, allocations: 0.4885 MB / 3.036 GB, free: 202.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/4.847, allocations: 245.8 kB / 3.037 GB, free: 202.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008518/4.855, allocations: 5.007 MB / 3.042 GB, free: 197.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005094/4.856, allocations: 1.019 MB / 3.043 GB, free: 196.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0009564/4.857, allocations: 254.1 kB / 3.043 GB, free: 196.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/4.857, allocations: 351.3 kB / 3.043 GB, free: 195.8 MB / 1.167 GB Notification: Performance of SimCode: time 2.304e-06/4.857, allocations: 11.94 kB / 3.043 GB, free: 195.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04728/4.905, allocations: 29.14 MB / 3.072 GB, free: 167 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/4.905, allocations: 285.4 kB / 3.072 GB, free: 166.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/7.953, allocations: 5.562 kB / 3.072 GB, free: 166.6 MB / 1.167 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