Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.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.WallSolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth",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.21/2.21, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001553/0.001553, allocations: 176.8 kB / 487.4 MB, free: 5.055 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.604/1.604, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 99.78 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.962e-05/1.965e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3371, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.854/5.192, allocations: 1.732 GB / 2.938 GB, free: 125.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/5.192, allocations: 96.44 kB / 2.938 GB, free: 125.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1466/5.339, allocations: 68.83 MB / 3.005 GB, free: 62.25 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.655e-06/5.339, allocations: 0 / 3.005 GB, free: 62.25 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001212/5.339, allocations: 31.94 kB / 3.005 GB, free: 62.22 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: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.002522/5.341, allocations: 1.151 MB / 3.006 GB, free: 61.02 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/5.341, allocations: 12.56 kB / 3.006 GB, free: 61 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/5.342, allocations: 198.4 kB / 3.006 GB, free: 60.81 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/5.344, allocations: 0.6541 MB / 3.007 GB, free: 60.11 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.318e-05/5.344, allocations: 32 kB / 3.007 GB, free: 60.08 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/5.344, allocations: 52 kB / 3.007 GB, free: 60.03 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001565/5.345, allocations: 1.062 MB / 3.008 GB, free: 58.97 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/5.347, allocations: 0.817 MB / 3.009 GB, free: 58.11 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/5.347, allocations: 3.984 kB / 3.009 GB, free: 58.11 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.523e-05/5.347, allocations: 3.953 kB / 3.009 GB, free: 58.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/5.347, allocations: 24 kB / 3.009 GB, free: 58.08 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004347/5.351, allocations: 2.598 MB / 3.012 GB, free: 55.43 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/5.352, allocations: 0.7065 MB / 3.012 GB, free: 54.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/5.353, allocations: 263.1 kB / 3.012 GB, free: 54.44 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.04e-05/5.353, allocations: 36.67 kB / 3.013 GB, free: 54.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006242/5.353, allocations: 423.8 kB / 3.013 GB, free: 53.97 MB / 1.151 GB Notification: Performance of pre-optimization done (n=80): time 3.987e-06/5.353, allocations: 0 / 3.013 GB, free: 53.97 MB / 1.151 GB Notification: Performance of matching and sorting (n=80): time 0.003176/5.357, allocations: 0.8826 MB / 3.014 GB, free: 53.08 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.856e-05/5.357, allocations: 248.1 kB / 3.014 GB, free: 52.78 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007207/5.358, allocations: 0.5102 MB / 3.015 GB, free: 52.27 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.238e-05/5.358, allocations: 29.7 kB / 3.015 GB, free: 52.23 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/5.358, allocations: 420 kB / 3.015 GB, free: 51.81 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/5.358, allocations: 252.2 kB / 3.015 GB, free: 51.56 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/5.358, allocations: 0 / 3.015 GB, free: 51.56 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001207/5.358, allocations: 382.8 kB / 3.016 GB, free: 51.18 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/5.359, allocations: 205.5 kB / 3.016 GB, free: 50.98 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/5.359, allocations: 315.5 kB / 3.016 GB, free: 50.64 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/5.361, allocations: 452.2 kB / 3.016 GB, free: 50.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/5.361, allocations: 3.953 kB / 3.016 GB, free: 50.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002964/5.364, allocations: 0.8905 MB / 3.017 GB, free: 49.29 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/5.364, allocations: 9.719 kB / 3.017 GB, free: 49.29 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/5.364, allocations: 0 / 3.017 GB, free: 49.29 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005758/5.364, allocations: 80.84 kB / 3.017 GB, free: 49.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006188/5.365, allocations: 159.7 kB / 3.018 GB, free: 49.05 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/5.367, allocations: 1.449 MB / 3.019 GB, free: 47.47 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006444/5.367, allocations: 71.36 kB / 3.019 GB, free: 47.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/5.367, allocations: 31.98 kB / 3.019 GB, free: 47.37 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 (84): * Single equations (assignments): 83 * 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.0001707/5.368, allocations: 118.1 kB / 3.019 GB, free: 47.25 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003023/5.371, allocations: 0.8827 MB / 3.02 GB, free: 46.36 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001758/5.371, allocations: 86.98 kB / 3.02 GB, free: 46.27 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003538/5.374, allocations: 1.181 MB / 3.021 GB, free: 45.08 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/5.374, allocations: 8 kB / 3.021 GB, free: 45.07 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/5.374, allocations: 0 / 3.021 GB, free: 45.07 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/5.374, allocations: 3.984 kB / 3.021 GB, free: 45.07 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004263/5.379, allocations: 2.015 MB / 3.023 GB, free: 43 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/5.379, allocations: 0 / 3.023 GB, free: 43 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005931/5.379, allocations: 163.8 kB / 3.023 GB, free: 42.84 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004638/5.38, allocations: 88.7 kB / 3.024 GB, free: 42.75 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/5.38, allocations: 15.98 kB / 3.024 GB, free: 42.73 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/5.381, allocations: 1.481 MB / 3.025 GB, free: 41.13 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/5.381, allocations: 3.953 kB / 3.025 GB, free: 41.12 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002967/5.384, allocations: 1.064 MB / 3.026 GB, free: 40.04 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004371/5.385, allocations: 295.7 kB / 3.026 GB, free: 39.73 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001659/5.385, allocations: 0 / 3.026 GB, free: 39.73 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000633/5.385, allocations: 51.95 kB / 3.026 GB, free: 39.68 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/5.386, allocations: 68.62 kB / 3.026 GB, free: 39.62 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.118e-05/5.386, allocations: 31.97 kB / 3.026 GB, free: 39.59 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005031/5.386, allocations: 431.2 kB / 3.027 GB, free: 39.17 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.5e-07/5.386, allocations: 0 / 3.027 GB, free: 39.17 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001159/5.387, allocations: 374.9 kB / 3.027 GB, free: 38.8 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 (94): * Single equations (assignments): 91 * 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.004946/5.392, allocations: 2.618 MB / 3.03 GB, free: 36.27 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001138/5.393, allocations: 0.6946 MB / 3.03 GB, free: 35.57 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/5.393, allocations: 0 / 3.03 GB, free: 35.57 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006228/5.394, allocations: 472.5 kB / 3.031 GB, free: 35.09 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/5.395, allocations: 232.2 kB / 3.031 GB, free: 34.87 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003936/5.399, allocations: 1.607 MB / 3.033 GB, free: 33.22 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004665/5.4, allocations: 1.066 MB / 3.034 GB, free: 32.12 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0008414/5.4, allocations: 266.2 kB / 3.034 GB, free: 31.86 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/5.401, allocations: 403.3 kB / 3.034 GB, free: 31.46 MB / 1.151 GB Notification: Performance of SimCode: time 5.51e-07/5.401, allocations: 0 / 3.034 GB, free: 31.46 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05964/5.461, allocations: 24.56 MB / 3.058 GB, free: 7.039 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/5.461, allocations: 219.1 kB / 3.059 GB, free: 6.742 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.812/8.273, allocations: 0 / 3.059 GB, free: 6.742 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_WallSolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.WallSolarAzimuth_res.mat does not exist to compare? outputFormat=mat