Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.Declination,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",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.352/2.352, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001413/0.001413, allocations: 179.3 kB / 498.1 MB, free: 5.766 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.597/1.597, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.00122/0.00122, allocations: 98.77 kB / 0.9346 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003726/0.0003727, allocations: 10.22 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2997, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1965/0.4962, allocations: 150.7 MB / 1.37 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.4965, allocations: 95.92 kB / 1.37 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009737/0.5063, allocations: 3.276 MB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.537e-06/0.5064, allocations: 0 / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.5064, allocations: 4 kB / 1.373 GB, free: 7.98 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007394/0.5071, allocations: 456.8 kB / 1.374 GB, free: 7.48 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.5072, allocations: 8.031 kB / 1.374 GB, free: 7.473 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.266e-05/0.5073, allocations: 42.5 kB / 1.374 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.08e-05/0.5074, allocations: 23.7 kB / 1.374 GB, free: 7.398 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.5077, allocations: 207.7 kB / 1.374 GB, free: 7.152 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.5077, allocations: 4 kB / 1.374 GB, free: 7.148 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.5078, allocations: 4 kB / 1.374 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002773/0.508, allocations: 128.3 kB / 1.374 GB, free: 7.008 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.5081, allocations: 3.938 kB / 1.374 GB, free: 7.004 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.5081, allocations: 4 kB / 1.374 GB, free: 7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.5081, allocations: 0 / 1.374 GB, free: 7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.5083, allocations: 79.95 kB / 1.374 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.5089, allocations: 396.9 kB / 1.375 GB, free: 6.48 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.509, allocations: 121 kB / 1.375 GB, free: 6.344 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.5091, allocations: 12.05 kB / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002502/0.5093, allocations: 174.6 kB / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.5093, allocations: 0 / 1.375 GB, free: 6.137 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0007645/0.5101, allocations: 462.2 kB / 1.375 GB, free: 5.652 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.5102, allocations: 114.8 kB / 1.376 GB, free: 5.516 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.5104, allocations: 182.2 kB / 1.376 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.387e-05/0.5104, allocations: 33.7 kB / 1.376 GB, free: 5.289 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.725e-05/0.5105, allocations: 108.1 kB / 1.376 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.874e-05/0.5106, allocations: 27.64 kB / 1.376 GB, free: 5.152 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.5106, allocations: 0 / 1.376 GB, free: 5.152 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5107, allocations: 330.8 kB / 1.376 GB, free: 4.82 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/0.5108, allocations: 71.95 kB / 1.376 GB, free: 4.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.5109, allocations: 81.67 kB / 1.376 GB, free: 4.664 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001237/0.5111, allocations: 101.7 kB / 1.376 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5111, allocations: 3.938 kB / 1.376 GB, free: 4.555 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004193/0.5115, allocations: 307 kB / 1.377 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.5115, allocations: 37.69 kB / 1.377 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5116, allocations: 0 / 1.377 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.5116, allocations: 0 / 1.377 GB, free: 4.199 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.5117, allocations: 11.94 kB / 1.377 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5117, allocations: 0 / 1.377 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.539e-05/0.5118, allocations: 7.953 kB / 1.377 GB, free: 4.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.5118, allocations: 11.98 kB / 1.377 GB, free: 4.168 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.512, allocations: 173.6 kB / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.512, allocations: 15.81 kB / 1.377 GB, free: 3.969 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.5122, allocations: 71.08 kB / 1.377 GB, free: 3.891 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.5122, allocations: 3.938 kB / 1.377 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.5122, allocations: 0 / 1.377 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5122, allocations: 3.938 kB / 1.377 GB, free: 3.883 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.5124, allocations: 233.4 kB / 1.377 GB, free: 3.605 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5124, allocations: 4 kB / 1.377 GB, free: 3.602 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.784e-05/0.5125, allocations: 8 kB / 1.377 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5125, allocations: 0 / 1.377 GB, free: 3.594 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.5125, allocations: 12.05 kB / 1.377 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5125, allocations: 0 / 1.377 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5125, allocations: 0 / 1.377 GB, free: 3.582 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.5131, allocations: 383 kB / 1.378 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.5132, allocations: 116.9 kB / 1.378 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.5132, allocations: 4.141 kB / 1.378 GB, free: 3.039 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.688e-05/0.5133, allocations: 7.984 kB / 1.378 GB, free: 3.031 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.5134, allocations: 7.922 kB / 1.378 GB, free: 3.023 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.5134, allocations: 15.95 kB / 1.378 GB, free: 3.008 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001392/0.5135, allocations: 153.2 kB / 1.378 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5136, allocations: 0 / 1.378 GB, free: 2.859 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002824/0.5138, allocations: 40 kB / 1.378 GB, free: 2.82 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007663/0.5146, allocations: 0.9465 MB / 1.379 GB, free: 1.832 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.5149, allocations: 215.3 kB / 1.379 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.5149, allocations: 0 / 1.379 GB, free: 1.609 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.5151, allocations: 155.4 kB / 1.379 GB, free: 1.445 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.5153, allocations: 16.19 kB / 1.379 GB, free: 1.426 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.5168, allocations: 1.197 MB / 1.38 GB, free: 168 kB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.5171, allocations: 0.7275 MB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.305e-05/0.5171, allocations: 3.984 kB / 1.381 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.207e-05/0.5172, allocations: 35.44 kB / 1.381 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of SimCode: time 6.61e-07/0.5172, allocations: 3.938 kB / 1.381 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.5337, allocations: 2.741 MB / 1.384 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/0.534, allocations: 211.8 kB / 1.384 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.643/2.177, allocations: 4 kB / 1.384 GB, free: 12.56 MB / 0.8855 GB (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat does not exist to compare? outputFormat=mat