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.209/2.209, allocations: 390.5 MB / 398 MB, free: 11.02 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.001035/0.001035, allocations: 172.9 kB / 491.2 MB, free: 1.602 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.677/1.677, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.00104/0.00104, allocations: 105.8 kB / 0.9269 GB, free: 13.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.118e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3347, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.383/5.718, allocations: 1.731 GB / 2.943 GB, free: 137.8 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/5.718, allocations: 79.95 kB / 2.943 GB, free: 137.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1398/5.858, allocations: 62.61 MB / 3.004 GB, free: 74.84 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.705e-06/5.858, allocations: 0 / 3.004 GB, free: 74.84 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001384/5.858, allocations: 20 kB / 3.004 GB, free: 74.82 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.002859/5.861, allocations: 1.063 MB / 3.005 GB, free: 73.71 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/5.861, allocations: 8.031 kB / 3.005 GB, free: 73.7 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/5.863, allocations: 182.6 kB / 3.005 GB, free: 73.52 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/5.864, allocations: 0.5998 MB / 3.006 GB, free: 72.88 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.613e-05/5.864, allocations: 24 kB / 3.006 GB, free: 72.86 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/5.864, allocations: 48 kB / 3.006 GB, free: 72.81 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00163/5.866, allocations: 0.9718 MB / 3.007 GB, free: 71.84 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/5.867, allocations: 0.7193 MB / 3.008 GB, free: 71.08 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/5.867, allocations: 3.953 kB / 3.008 GB, free: 71.07 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-05/5.867, allocations: 7.938 kB / 3.008 GB, free: 71.07 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/5.868, allocations: 19.98 kB / 3.008 GB, free: 71.05 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/5.872, allocations: 2.278 MB / 3.01 GB, free: 68.71 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/5.873, allocations: 0.7295 MB / 3.011 GB, free: 67.95 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/5.873, allocations: 234.6 kB / 3.011 GB, free: 67.72 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.864e-05/5.874, allocations: 28.52 kB / 3.011 GB, free: 67.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000569/5.874, allocations: 385.7 kB / 3.011 GB, free: 67.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=70): time 3.757e-06/5.874, allocations: 0 / 3.011 GB, free: 67.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=70): time 0.001699/5.876, allocations: 0.6356 MB / 3.012 GB, free: 66.65 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/5.876, allocations: 239.9 kB / 3.012 GB, free: 66.36 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008385/5.877, allocations: 498.3 kB / 3.013 GB, free: 65.87 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.436e-05/5.877, allocations: 25.7 kB / 3.013 GB, free: 65.84 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002613/5.877, allocations: 372.2 kB / 3.013 GB, free: 65.47 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/5.877, allocations: 224.6 kB / 3.013 GB, free: 65.25 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/5.877, allocations: 0 / 3.013 GB, free: 65.25 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001161/5.878, allocations: 374.8 kB / 3.014 GB, free: 64.87 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/5.878, allocations: 193.5 kB / 3.014 GB, free: 64.68 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/5.878, allocations: 283.5 kB / 3.014 GB, free: 64.38 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/5.878, allocations: 232.5 kB / 3.014 GB, free: 64.15 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/5.878, allocations: 0 / 3.014 GB, free: 64.15 MB / 1.151 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00139/5.88, allocations: 0.6406 MB / 3.015 GB, free: 63.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/5.88, allocations: 8.062 kB / 3.015 GB, free: 63.49 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/5.88, allocations: 0 / 3.015 GB, free: 63.49 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005689/5.881, allocations: 84.77 kB / 3.015 GB, free: 63.41 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/5.881, allocations: 131.8 kB / 3.015 GB, free: 63.28 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/5.883, allocations: 1.461 MB / 3.017 GB, free: 61.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005851/5.883, allocations: 59.59 kB / 3.017 GB, free: 61.62 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/5.883, allocations: 27.98 kB / 3.017 GB, free: 61.6 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.0001942/5.884, allocations: 112.9 kB / 3.017 GB, free: 61.48 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001329/5.885, allocations: 0.6395 MB / 3.017 GB, free: 60.84 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/5.885, allocations: 67.16 kB / 3.017 GB, free: 60.77 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/5.887, allocations: 0.8867 MB / 3.018 GB, free: 59.87 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/5.887, allocations: 8.094 kB / 3.018 GB, free: 59.86 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/5.887, allocations: 0 / 3.018 GB, free: 59.86 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/5.887, allocations: 7.969 kB / 3.018 GB, free: 59.86 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/5.889, allocations: 1.687 MB / 3.02 GB, free: 58.12 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/5.889, allocations: 0 / 3.02 GB, free: 58.12 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004998/5.89, allocations: 135.8 kB / 3.02 GB, free: 57.98 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000469/5.89, allocations: 88.77 kB / 3.02 GB, free: 57.89 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.343e-05/5.89, allocations: 16.08 kB / 3.02 GB, free: 57.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/5.892, allocations: 1.496 MB / 3.022 GB, free: 56.27 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/5.892, allocations: 0 / 3.022 GB, free: 56.27 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/5.894, allocations: 0.8065 MB / 3.022 GB, free: 55.44 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004277/5.894, allocations: 275.8 kB / 3.023 GB, free: 55.15 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/5.894, allocations: 4 kB / 3.023 GB, free: 55.15 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006095/5.895, allocations: 47.95 kB / 3.023 GB, free: 55.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/5.895, allocations: 60.64 kB / 3.023 GB, free: 55.04 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.806e-05/5.895, allocations: 31.98 kB / 3.023 GB, free: 55.01 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005062/5.896, allocations: 394.9 kB / 3.023 GB, free: 54.63 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/5.896, allocations: 0 / 3.023 GB, free: 54.63 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001539/5.897, allocations: 319.1 kB / 3.024 GB, free: 54.32 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.004626/5.902, allocations: 2.339 MB / 3.026 GB, free: 52.06 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0013/5.903, allocations: 0.632 MB / 3.026 GB, free: 51.41 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/5.903, allocations: 8.125 kB / 3.026 GB, free: 51.41 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006857/5.904, allocations: 436.6 kB / 3.027 GB, free: 50.97 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001256/5.905, allocations: 225.8 kB / 3.027 GB, free: 50.75 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004587/5.91, allocations: 1.455 MB / 3.029 GB, free: 49.26 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005406/5.91, allocations: 1.011 MB / 3.03 GB, free: 48.22 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008409/5.911, allocations: 241.7 kB / 3.03 GB, free: 47.98 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/5.912, allocations: 343.3 kB / 3.03 GB, free: 47.64 MB / 1.151 GB Notification: Performance of SimCode: time 8.42e-07/5.912, allocations: 0 / 3.03 GB, free: 47.64 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06239/5.974, allocations: 22.81 MB / 3.052 GB, free: 24.96 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002256/5.974, allocations: 193.9 kB / 3.053 GB, free: 24.77 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/8.844, allocations: 4 kB / 3.053 GB, free: 24.77 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