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.438/2.438, allocations: 387.1 MB / 399.7 MB, free: 9.453 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.001044/0.001044, allocations: 188.1 kB / 492.3 MB, free: 0.6055 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.599/1.599, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0008892/0.0008894, allocations: 93.66 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.608e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3492, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.559, allocations: 150.6 MB / 1.36 GB, free: 18.66 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003626/1.56, allocations: 80.52 kB / 1.36 GB, free: 18.66 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01047/1.57, allocations: 3.26 MB / 1.363 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.494e-06/1.57, allocations: 0 / 1.363 GB, free: 34.16 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.599e-05/1.57, allocations: 3.812 kB / 1.363 GB, free: 34.16 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.0005914/1.571, allocations: 434.8 kB / 1.363 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.571, allocations: 15.59 kB / 1.363 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.838e-05/1.571, allocations: 35.31 kB / 1.363 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/1.571, allocations: 15.53 kB / 1.363 GB, free: 33.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/1.571, allocations: 216.9 kB / 1.364 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/1.572, allocations: 0 / 1.364 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/1.572, allocations: 7.828 kB / 1.364 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/1.572, allocations: 132.9 kB / 1.364 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.572, allocations: 0 / 1.364 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/1.572, allocations: 7.844 kB / 1.364 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/1.572, allocations: 3.938 kB / 1.364 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/1.572, allocations: 78.39 kB / 1.364 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005456/1.573, allocations: 402.2 kB / 1.364 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/1.573, allocations: 116.3 kB / 1.364 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/1.573, allocations: 97.84 kB / 1.364 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/1.573, allocations: 0 / 1.364 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002333/1.573, allocations: 173.9 kB / 1.365 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 2.094e-06/1.573, allocations: 0 / 1.365 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0005926/1.574, allocations: 304.6 kB / 1.365 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/1.574, allocations: 111.9 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001946/1.574, allocations: 185.7 kB / 1.365 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/1.574, allocations: 26.97 kB / 1.365 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.28e-05/1.574, allocations: 111.7 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.052e-05/1.574, allocations: 25.34 kB / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/1.574, allocations: 0 / 1.365 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.574, allocations: 329.8 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-05/1.574, allocations: 70.23 kB / 1.366 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.287e-05/1.575, allocations: 85.3 kB / 1.366 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/1.575, allocations: 96.77 kB / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.575, allocations: 0 / 1.366 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004193/1.575, allocations: 304.1 kB / 1.366 GB, free: 32.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/1.575, allocations: 45.03 kB / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.575, allocations: 0 / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/1.575, allocations: 0 / 1.366 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.892e-05/1.575, allocations: 11.75 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/1.575, allocations: 2.719 kB / 1.366 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/1.575, allocations: 15.42 kB / 1.366 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/1.575, allocations: 7.656 kB / 1.366 GB, free: 31.96 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.000113/1.576, allocations: 145.7 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.042e-05/1.576, allocations: 15.47 kB / 1.366 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/1.576, allocations: 72.31 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/1.576, allocations: 7.844 kB / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.576, allocations: 0 / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/1.576, allocations: 0 / 1.366 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/1.576, allocations: 235.3 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/1.576, allocations: 0 / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.571e-05/1.576, allocations: 7.688 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/1.576, allocations: 0 / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/1.576, allocations: 13.88 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.576, allocations: 0 / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/1.576, allocations: 3.844 kB / 1.367 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005433/1.577, allocations: 379.6 kB / 1.367 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/1.577, allocations: 104.8 kB / 1.367 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/1.577, allocations: 3.906 kB / 1.367 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.932e-05/1.577, allocations: 11.12 kB / 1.367 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/1.577, allocations: 6.906 kB / 1.367 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/1.577, allocations: 11.03 kB / 1.367 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000137/1.577, allocations: 157.3 kB / 1.367 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.577, allocations: 0 / 1.367 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002833/1.577, allocations: 42.19 kB / 1.367 GB, free: 31.24 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.000787/1.578, allocations: 0.9455 MB / 1.368 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000269/1.579, allocations: 215.1 kB / 1.368 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/1.579, allocations: 3.875 kB / 1.368 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001194/1.579, allocations: 146.2 kB / 1.369 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/1.579, allocations: 17.2 kB / 1.369 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006263/1.58, allocations: 293.5 kB / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/1.58, allocations: 0.724 MB / 1.37 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.727e-05/1.58, allocations: 0 / 1.37 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.677e-05/1.58, allocations: 38.72 kB / 1.37 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/1.58, allocations: 0 / 1.37 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/1.596, allocations: 2.76 MB / 1.372 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/1.597, allocations: 195.6 kB / 1.373 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/3.473, allocations: 0 / 1.373 GB, free: 29.01 MB / 0.8386 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