Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",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.356/2.356, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001712/0.001712, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.668/1.668, allocations: 221.3 MB / 0.7915 GB, free: 5.434 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.001012/0.001012, allocations: 91.89 kB / 0.9317 GB, free: 5.746 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.472e-05/3.476e-05, allocations: 0 / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3381, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.088/5.427, allocations: 1.732 GB / 2.951 GB, free: 67.89 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/5.427, allocations: 98.75 kB / 2.951 GB, free: 67.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1356/5.563, allocations: 60.14 MB / 3.01 GB, free: 7.414 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.314e-06/5.563, allocations: 0 / 3.01 GB, free: 7.414 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001764/5.563, allocations: 31.94 kB / 3.01 GB, free: 7.383 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: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.003736/5.567, allocations: 1.098 MB / 3.011 GB, free: 6.238 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 9.262e-05/5.567, allocations: 8.031 kB / 3.011 GB, free: 6.23 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004814/5.567, allocations: 131.2 kB / 3.011 GB, free: 6.094 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/5.569, allocations: 186.6 kB / 3.011 GB, free: 5.91 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001611/5.57, allocations: 0.6192 MB / 3.012 GB, free: 5.25 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.966e-05/5.57, allocations: 58 kB / 3.012 GB, free: 5.191 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001914/5.57, allocations: 80 kB / 3.012 GB, free: 5.113 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/5.572, allocations: 0.8754 MB / 3.013 GB, free: 4.199 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/5.572, allocations: 4 kB / 3.013 GB, free: 4.195 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/5.572, allocations: 35.95 kB / 3.013 GB, free: 4.16 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/5.572, allocations: 20 kB / 3.013 GB, free: 4.141 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/5.574, allocations: 1.058 MB / 3.014 GB, free: 3.078 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004603/5.579, allocations: 2.575 MB / 3.017 GB, free: 444 kB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.7348/6.314, allocations: 0.8295 MB / 3.017 GB, free: 385.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006121/6.314, allocations: 273.1 kB / 3.018 GB, free: 385.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001122/6.314, allocations: 34.34 kB / 3.018 GB, free: 385.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00086/6.315, allocations: 430.5 kB / 3.018 GB, free: 385.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 2.545e-06/6.315, allocations: 0 / 3.018 GB, free: 385.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001946/6.317, allocations: 0.7133 MB / 3.019 GB, free: 385.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/6.317, allocations: 245.9 kB / 3.019 GB, free: 385 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009238/6.318, allocations: 0.5881 MB / 3.02 GB, free: 384.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.193e-05/6.318, allocations: 42.16 kB / 3.02 GB, free: 384.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/6.319, allocations: 376.4 kB / 3.02 GB, free: 384.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001811/6.319, allocations: 249.8 kB / 3.02 GB, free: 384.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/6.319, allocations: 15.08 kB / 3.02 GB, free: 384.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001343/6.319, allocations: 380.8 kB / 3.021 GB, free: 384.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/6.319, allocations: 211 kB / 3.021 GB, free: 384.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/6.32, allocations: 319 kB / 3.021 GB, free: 384.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004555/6.32, allocations: 257.1 kB / 3.021 GB, free: 384.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/6.32, allocations: 0 / 3.021 GB, free: 384.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001616/6.322, allocations: 0.7204 MB / 3.022 GB, free: 384.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/6.322, allocations: 8.328 kB / 3.022 GB, free: 384.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/6.322, allocations: 0.8438 kB / 3.022 GB, free: 384.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005893/6.323, allocations: 84.2 kB / 3.022 GB, free: 384.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/6.323, allocations: 146.3 kB / 3.022 GB, free: 384.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/6.325, allocations: 1.52 MB / 3.024 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/6.326, allocations: 89.28 kB / 3.024 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.746e-05/6.326, allocations: 31.62 kB / 3.024 GB, free: 382.8 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: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,solAzi.outsidePolarCircle) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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.0001652/6.326, allocations: 144.8 kB / 3.024 GB, free: 382.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/6.326, allocations: 77.08 kB / 3.024 GB, free: 382.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002366/6.328, allocations: 1.029 MB / 3.025 GB, free: 382.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/6.328, allocations: 13.42 kB / 3.025 GB, free: 382.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/6.328, allocations: 0 / 3.025 GB, free: 382.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/6.328, allocations: 4.828 kB / 3.025 GB, free: 382.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00352/6.332, allocations: 1.931 MB / 3.027 GB, free: 382.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/6.332, allocations: 0 / 3.027 GB, free: 382.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/6.333, allocations: 166 kB / 3.027 GB, free: 382.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005119/6.333, allocations: 82.02 kB / 3.027 GB, free: 382.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/6.333, allocations: 25.94 kB / 3.027 GB, free: 382.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/6.335, allocations: 1.541 MB / 3.029 GB, free: 380.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/6.335, allocations: 0 / 3.029 GB, free: 380.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/6.337, allocations: 0.9155 MB / 3.03 GB, free: 380.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004611/6.337, allocations: 293.3 kB / 3.03 GB, free: 380.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/6.337, allocations: 18.55 kB / 3.03 GB, free: 380.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005917/6.338, allocations: 77.23 kB / 3.03 GB, free: 380.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/6.338, allocations: 69 kB / 3.03 GB, free: 380.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.754e-05/6.338, allocations: 34.59 kB / 3.03 GB, free: 380.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007921/6.339, allocations: 483.3 kB / 3.031 GB, free: 380.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.71e-07/6.339, allocations: 0 / 3.031 GB, free: 380.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001858/6.341, allocations: 373.9 kB / 3.031 GB, free: 380.4 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 (93): * Single equations (assignments): 90 * 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.00475/6.346, allocations: 2.395 MB / 3.033 GB, free: 379.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001656/6.347, allocations: 0.7176 MB / 3.034 GB, free: 379.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/6.347, allocations: 4.578 kB / 3.034 GB, free: 379.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008825/6.348, allocations: 492.3 kB / 3.034 GB, free: 379.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/6.35, allocations: 239 kB / 3.035 GB, free: 379.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005175/6.355, allocations: 1.602 MB / 3.036 GB, free: 379 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/6.356, allocations: 1.036 MB / 3.037 GB, free: 378.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001017/6.357, allocations: 266.3 kB / 3.037 GB, free: 378.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006172/6.357, allocations: 368.3 kB / 3.038 GB, free: 378.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.713e-06/6.357, allocations: 2.438 kB / 3.038 GB, free: 378.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08757/6.445, allocations: 31.56 MB / 3.069 GB, free: 376.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/6.445, allocations: 250.1 kB / 3.069 GB, free: 376.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.906/9.351, allocations: 4.531 kB / 3.069 GB, free: 376.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat does not exist to compare? outputFormat=mat