Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.399/2.399, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001243/0.001243, allocations: 180.1 kB / 492.3 MB, free: 0.6172 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.576/1.576, allocations: 221.3 MB / 0.7872 GB, free: 12.87 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.0009325/0.0009332, allocations: 83.92 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.296e-05/3.298e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3313, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.21/5.542, allocations: 1.731 GB / 2.944 GB, free: 133.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/5.542, allocations: 95.94 kB / 2.944 GB, free: 133.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1339/5.676, allocations: 60.14 MB / 3.003 GB, free: 73.03 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.973e-06/5.676, allocations: 0 / 3.003 GB, free: 73.03 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001101/5.676, allocations: 24 kB / 3.003 GB, free: 73.01 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.002509/5.678, allocations: 1.102 MB / 3.004 GB, free: 71.86 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/5.679, allocations: 8.031 kB / 3.004 GB, free: 71.85 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002888/5.679, allocations: 135.1 kB / 3.004 GB, free: 71.71 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/5.68, allocations: 186.6 kB / 3.004 GB, free: 71.53 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001256/5.681, allocations: 0.6152 MB / 3.005 GB, free: 70.87 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.63e-05/5.681, allocations: 62 kB / 3.005 GB, free: 70.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/5.681, allocations: 87.94 kB / 3.005 GB, free: 70.72 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00152/5.683, allocations: 0.86 MB / 3.006 GB, free: 69.82 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/5.683, allocations: 0 / 3.006 GB, free: 69.82 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.97e-05/5.683, allocations: 40 kB / 3.006 GB, free: 69.78 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/5.683, allocations: 27.95 kB / 3.006 GB, free: 69.75 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/5.685, allocations: 1.054 MB / 3.007 GB, free: 68.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004131/5.689, allocations: 2.571 MB / 3.009 GB, free: 66.06 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/5.69, allocations: 0.8349 MB / 3.01 GB, free: 65.18 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/5.691, allocations: 283.1 kB / 3.01 GB, free: 64.91 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.957e-05/5.691, allocations: 28.81 kB / 3.01 GB, free: 64.88 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000611/5.691, allocations: 433.2 kB / 3.011 GB, free: 64.43 MB / 1.151 GB Notification: Performance of pre-optimization done (n=76): time 1.954e-06/5.691, allocations: 0 / 3.011 GB, free: 64.43 MB / 1.151 GB Notification: Performance of matching and sorting (n=76): time 0.001599/5.693, allocations: 0.711 MB / 3.012 GB, free: 63.71 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.848e-05/5.693, allocations: 244.1 kB / 3.012 GB, free: 63.42 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007858/5.694, allocations: 0.5893 MB / 3.012 GB, free: 62.82 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.155e-05/5.694, allocations: 41.7 kB / 3.012 GB, free: 62.77 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002301/5.694, allocations: 380.4 kB / 3.013 GB, free: 62.39 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/5.694, allocations: 252.3 kB / 3.013 GB, free: 62.14 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/5.694, allocations: 8 kB / 3.013 GB, free: 62.14 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001033/5.695, allocations: 386.8 kB / 3.013 GB, free: 61.75 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/5.695, allocations: 205.5 kB / 3.014 GB, free: 61.55 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/5.695, allocations: 321 kB / 3.014 GB, free: 61.21 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/5.696, allocations: 262 kB / 3.014 GB, free: 60.95 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/5.696, allocations: 3.953 kB / 3.014 GB, free: 60.95 MB / 1.151 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001449/5.697, allocations: 0.7149 MB / 3.015 GB, free: 60.22 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/5.697, allocations: 9.25 kB / 3.015 GB, free: 60.21 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/5.697, allocations: 3.938 kB / 3.015 GB, free: 60.21 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/5.698, allocations: 76.84 kB / 3.015 GB, free: 60.13 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/5.698, allocations: 147.8 kB / 3.015 GB, free: 59.99 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/5.7, allocations: 1.508 MB / 3.017 GB, free: 58.34 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/5.701, allocations: 91.36 kB / 3.017 GB, free: 58.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.314e-05/5.701, allocations: 32 kB / 3.017 GB, free: 58.22 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.0001718/5.701, allocations: 155.2 kB / 3.017 GB, free: 58.06 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/5.701, allocations: 79.06 kB / 3.017 GB, free: 57.98 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002053/5.703, allocations: 1.029 MB / 3.018 GB, free: 56.94 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/5.703, allocations: 15.95 kB / 3.018 GB, free: 56.92 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/5.703, allocations: 0 / 3.018 GB, free: 56.92 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/5.703, allocations: 3.984 kB / 3.018 GB, free: 56.92 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/5.706, allocations: 1.925 MB / 3.02 GB, free: 54.93 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/5.706, allocations: 0 / 3.02 GB, free: 54.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005653/5.707, allocations: 155.8 kB / 3.02 GB, free: 54.78 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004645/5.707, allocations: 84.78 kB / 3.02 GB, free: 54.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.54e-05/5.707, allocations: 31.95 kB / 3.02 GB, free: 54.66 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/5.709, allocations: 1.548 MB / 3.022 GB, free: 52.98 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/5.709, allocations: 0 / 3.022 GB, free: 52.98 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/5.71, allocations: 0.9157 MB / 3.022 GB, free: 52.04 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003817/5.711, allocations: 291.7 kB / 3.023 GB, free: 51.74 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/5.711, allocations: 19.98 kB / 3.023 GB, free: 51.72 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006151/5.711, allocations: 71.91 kB / 3.023 GB, free: 51.65 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/5.712, allocations: 64.69 kB / 3.023 GB, free: 51.58 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/5.712, allocations: 31.97 kB / 3.023 GB, free: 51.55 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005955/5.712, allocations: 483.1 kB / 3.023 GB, free: 51.08 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/5.712, allocations: 4 kB / 3.023 GB, free: 51.08 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001267/5.714, allocations: 375.2 kB / 3.024 GB, free: 50.71 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.00405/5.718, allocations: 2.397 MB / 3.026 GB, free: 48.44 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001318/5.719, allocations: 0.7217 MB / 3.027 GB, free: 47.71 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/5.719, allocations: 0 / 3.027 GB, free: 47.71 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007041/5.72, allocations: 495.1 kB / 3.027 GB, free: 47.21 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/5.721, allocations: 243.1 kB / 3.027 GB, free: 46.98 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/5.725, allocations: 1.599 MB / 3.029 GB, free: 45.34 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005001/5.725, allocations: 1.04 MB / 3.03 GB, free: 44.27 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0009255/5.726, allocations: 262.4 kB / 3.03 GB, free: 44.01 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004974/5.727, allocations: 375.3 kB / 3.031 GB, free: 43.64 MB / 1.151 GB Notification: Performance of SimCode: time 3.31e-07/5.727, allocations: 0 / 3.031 GB, free: 43.64 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0586/5.785, allocations: 31.55 MB / 3.061 GB, free: 12.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/5.786, allocations: 255.6 kB / 3.062 GB, free: 12.06 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.028/8.814, allocations: 1.828 kB / 3.062 GB, free: 12.06 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat does not exist to compare? outputFormat=mat