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.447/2.447, allocations: 393.5 MB / 408.4 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.00133/0.00133, allocations: 171.1 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.619/1.619, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001212/0.001212, allocations: 100.2 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003635/0.0003637, allocations: 10.41 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3262, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.343/4.669, allocations: 1.731 GB / 2.961 GB, free: 255.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/4.669, allocations: 89.11 kB / 2.961 GB, free: 255.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1329/4.802, allocations: 63.76 MB / 3.023 GB, free: 191.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.317e-06/4.802, allocations: 0 / 3.023 GB, free: 191.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.386e-05/4.802, allocations: 23.94 kB / 3.023 GB, free: 191.2 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.001941/4.804, allocations: 1.167 MB / 3.024 GB, free: 190 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/4.804, allocations: 8.562 kB / 3.024 GB, free: 190 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/4.805, allocations: 126.9 kB / 3.024 GB, free: 189.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007838/4.805, allocations: 190.6 kB / 3.024 GB, free: 189.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/4.806, allocations: 0.6114 MB / 3.025 GB, free: 189 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/4.806, allocations: 62 kB / 3.025 GB, free: 189 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.285e-05/4.806, allocations: 76 kB / 3.025 GB, free: 188.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/4.808, allocations: 0.8442 MB / 3.026 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/4.808, allocations: 7.984 kB / 3.026 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.122e-05/4.808, allocations: 39.95 kB / 3.026 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/4.808, allocations: 16 kB / 3.026 GB, free: 187.9 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/4.809, allocations: 1.069 MB / 3.027 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/4.812, allocations: 2.429 MB / 3.029 GB, free: 184.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/4.813, allocations: 0.8087 MB / 3.03 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.75e-05/4.813, allocations: 29.62 kB / 3.03 GB, free: 183.5 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006302/4.814, allocations: 425.8 kB / 3.031 GB, free: 183.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=70): time 2.946e-06/4.814, allocations: 0 / 3.031 GB, free: 183.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=70): time 0.002604/4.817, allocations: 1.094 MB / 3.032 GB, free: 181.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.307e-05/4.817, allocations: 239.9 kB / 3.032 GB, free: 181.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006143/4.817, allocations: 0.5775 MB / 3.033 GB, free: 181.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/4.817, allocations: 45.7 kB / 3.033 GB, free: 181 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/4.817, allocations: 372.3 kB / 3.033 GB, free: 180.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/4.818, allocations: 228.7 kB / 3.033 GB, free: 180.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/4.818, allocations: 19.94 kB / 3.033 GB, free: 180.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001045/4.818, allocations: 374.8 kB / 3.034 GB, free: 180 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/4.818, allocations: 221.1 kB / 3.034 GB, free: 179.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/4.819, allocations: 319.7 kB / 3.034 GB, free: 179.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/4.819, allocations: 263.1 kB / 3.034 GB, free: 179.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/4.819, allocations: 0 / 3.034 GB, free: 179.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001473/4.821, allocations: 0.7197 MB / 3.035 GB, free: 178.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/4.821, allocations: 10.19 kB / 3.035 GB, free: 178.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/4.821, allocations: 0 / 3.035 GB, free: 178.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/4.821, allocations: 84.83 kB / 3.035 GB, free: 178.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000554/4.822, allocations: 131.8 kB / 3.035 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/4.823, allocations: 1.548 MB / 3.037 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005328/4.824, allocations: 79.5 kB / 3.037 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.734e-05/4.824, allocations: 23.98 kB / 3.037 GB, free: 176.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 (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.0003646/4.824, allocations: 251.1 kB / 3.037 GB, free: 176.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/4.825, allocations: 75.06 kB / 3.037 GB, free: 176.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00189/4.826, allocations: 0.986 MB / 3.038 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/4.826, allocations: 8 kB / 3.038 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/4.826, allocations: 0 / 3.038 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/4.826, allocations: 11.94 kB / 3.038 GB, free: 175.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/4.829, allocations: 1.896 MB / 3.04 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/4.829, allocations: 4 kB / 3.04 GB, free: 173.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/4.83, allocations: 139.8 kB / 3.04 GB, free: 173 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005023/4.83, allocations: 88.75 kB / 3.04 GB, free: 172.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.454e-05/4.83, allocations: 19.98 kB / 3.04 GB, free: 172.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/4.832, allocations: 1.575 MB / 3.042 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/4.832, allocations: 7.922 kB / 3.042 GB, free: 171.2 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/4.833, allocations: 0.9024 MB / 3.043 GB, free: 170.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003244/4.833, allocations: 279.8 kB / 3.043 GB, free: 170 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.313e-05/4.834, allocations: 20 kB / 3.043 GB, free: 170 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005682/4.834, allocations: 63.89 kB / 3.043 GB, free: 169.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/4.834, allocations: 60.91 kB / 3.043 GB, free: 169.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-05/4.834, allocations: 31.98 kB / 3.043 GB, free: 169.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00047/4.835, allocations: 486.9 kB / 3.044 GB, free: 169.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/4.835, allocations: 0 / 3.044 GB, free: 169.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001009/4.836, allocations: 351.1 kB / 3.044 GB, free: 169 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 (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.003333/4.839, allocations: 2.407 MB / 3.046 GB, free: 166.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001253/4.84, allocations: 0.7082 MB / 3.047 GB, free: 166 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/4.84, allocations: 4.125 kB / 3.047 GB, free: 166 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006678/4.841, allocations: 496.2 kB / 3.047 GB, free: 165.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009665/4.842, allocations: 241 kB / 3.048 GB, free: 165.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00754/4.85, allocations: 4.959 MB / 3.052 GB, free: 160.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/4.85, allocations: 1.015 MB / 3.053 GB, free: 159.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008007/4.851, allocations: 261.8 kB / 3.054 GB, free: 159 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/4.851, allocations: 343.3 kB / 3.054 GB, free: 158.6 MB / 1.167 GB Notification: Performance of SimCode: time 8.92e-07/4.851, allocations: 0 / 3.054 GB, free: 158.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0433/4.895, allocations: 29.01 MB / 3.082 GB, free: 130 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001588/4.895, allocations: 276.7 kB / 3.083 GB, free: 129.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.151/8.046, allocations: 0 / 3.083 GB, free: 129.6 MB / 1.167 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