Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.Declination,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.293/2.293, allocations: 390.5 MB / 398 MB, free: 10.98 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.00192/0.00192, allocations: 176.9 kB / 491.2 MB, free: 1.598 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.688/1.688, allocations: 221.5 MB / 0.7868 GB, free: 13.24 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.001102/0.001101, allocations: 94.7 kB / 0.9269 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.364e-05, allocations: 7.984 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3561, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.274/1.63, allocations: 150.8 MB / 1.36 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003491/1.631, allocations: 85.22 kB / 1.36 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01083/1.641, allocations: 3.249 MB / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.028e-06/1.641, allocations: 0 / 1.363 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.368e-05/1.642, allocations: 0 / 1.363 GB, free: 32.71 MB / 0.8386 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.0009205/1.642, allocations: 434.5 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 7.573e-05/1.643, allocations: 11.75 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/1.643, allocations: 19.22 kB / 1.363 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/1.643, allocations: 215.6 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/1.643, allocations: 3.844 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/1.643, allocations: 3.938 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002182/1.643, allocations: 75.94 kB / 1.364 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/1.644, allocations: 121.8 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/1.644, allocations: 0 / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/1.644, allocations: 5.031 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/1.644, allocations: 4 kB / 1.364 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006972/1.644, allocations: 372 kB / 1.364 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/1.645, allocations: 109.6 kB / 1.364 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/1.645, allocations: 88.05 kB / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/1.645, allocations: 3.844 kB / 1.364 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002972/1.645, allocations: 175.3 kB / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/1.645, allocations: 0 / 1.364 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0007436/1.646, allocations: 267.8 kB / 1.365 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.85e-05/1.646, allocations: 115.6 kB / 1.365 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003037/1.646, allocations: 184.8 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.884e-05/1.646, allocations: 25.7 kB / 1.365 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/1.647, allocations: 111.3 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/1.647, allocations: 25.52 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/1.647, allocations: 3.375 kB / 1.365 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002373/1.647, allocations: 325.7 kB / 1.365 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/1.647, allocations: 68.08 kB / 1.366 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/1.647, allocations: 85.38 kB / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/1.647, allocations: 74.22 kB / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.647, allocations: 0 / 1.366 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005059/1.648, allocations: 271 kB / 1.366 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.597e-05/1.648, allocations: 35.55 kB / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.648, allocations: 4.656 kB / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/1.648, allocations: 0 / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/1.648, allocations: 12.8 kB / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/1.648, allocations: 0 / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.455e-05/1.648, allocations: 7.812 kB / 1.366 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.002e-05/1.648, allocations: 9.203 kB / 1.366 GB, free: 30.7 MB / 0.8386 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 () * 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.0001725/1.648, allocations: 145.3 kB / 1.366 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005456/1.649, allocations: 289.5 kB / 1.366 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/1.649, allocations: 15.47 kB / 1.366 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002108/1.649, allocations: 73.16 kB / 1.367 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/1.649, allocations: 4.031 kB / 1.367 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/1.649, allocations: 0 / 1.367 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/1.649, allocations: 5.453 kB / 1.367 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/1.649, allocations: 202.4 kB / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.649, allocations: 0 / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.829e-05/1.65, allocations: 7.656 kB / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.708e-06/1.65, allocations: 0 / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/1.65, allocations: 4.984 kB / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/1.65, allocations: 0 / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.65, allocations: 5.531 kB / 1.367 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006027/1.65, allocations: 347.5 kB / 1.367 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/1.65, allocations: 112.6 kB / 1.367 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/1.65, allocations: 5.344 kB / 1.367 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.986e-05/1.65, allocations: 3.844 kB / 1.367 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.701e-05/1.651, allocations: 5.438 kB / 1.367 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/1.651, allocations: 16.61 kB / 1.367 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001784/1.651, allocations: 153.7 kB / 1.367 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.32e-07/1.651, allocations: 0 / 1.367 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003287/1.651, allocations: 36.31 kB / 1.367 GB, free: 29.98 MB / 0.8386 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) * 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.00106/1.652, allocations: 0.9053 MB / 1.368 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003101/1.653, allocations: 201 kB / 1.368 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.653, allocations: 0 / 1.368 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001391/1.653, allocations: 148.7 kB / 1.369 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002492/1.653, allocations: 11.95 kB / 1.369 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006955/1.654, allocations: 290.5 kB / 1.369 GB, free: 29 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/1.654, allocations: 0.726 MB / 1.37 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.62e-05/1.654, allocations: 9.75 kB / 1.37 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.358e-05/1.654, allocations: 30.8 kB / 1.37 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of SimCode: time 1.863e-06/1.654, allocations: 0 / 1.37 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02461/1.679, allocations: 2.451 MB / 1.372 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/1.679, allocations: 183.7 kB / 1.372 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/3.52, allocations: 5.562 kB / 1.372 GB, free: 27.88 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat does not exist to compare? outputFormat=mat