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.301/2.301, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001103/0.001104, allocations: 176 kB / 0.4901 GB, free: 2.227 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.59/1.59, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001136/0.001136, allocations: 95.2 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005525/0.0005523, allocations: 6.781 kB / 1.09 GB, free: 216 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3948, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.5997, allocations: 151.5 MB / 1.377 GB, free: 1.914 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.6001, allocations: 79.95 kB / 1.377 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009603/0.6097, allocations: 3.284 MB / 1.381 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.464e-06/0.6098, allocations: 0 / 1.381 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.6098, allocations: 0 / 1.381 GB, free: 14.54 MB / 0.8855 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.0005407/0.6104, allocations: 452.4 kB / 1.381 GB, free: 14.05 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.143e-05/0.6104, allocations: 12.02 kB / 1.381 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.222e-05/0.6105, allocations: 34.56 kB / 1.381 GB, free: 13.99 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.626e-05/0.6105, allocations: 19.77 kB / 1.381 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.6108, allocations: 215.6 kB / 1.381 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.6109, allocations: 12 kB / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.6109, allocations: 0 / 1.381 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.6111, allocations: 135.3 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6112, allocations: 0 / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.6112, allocations: 3.938 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.6112, allocations: 3.984 kB / 1.381 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.6113, allocations: 87.88 kB / 1.381 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.6119, allocations: 397 kB / 1.382 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.612, allocations: 117 kB / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.6121, allocations: 0 / 1.382 GB, free: 12.89 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.6123, allocations: 174.9 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.6123, allocations: 0 / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=10): time 0.0007531/0.6131, allocations: 458.2 kB / 1.383 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.534e-05/0.6132, allocations: 114.8 kB / 1.383 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.6134, allocations: 186.1 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.6134, allocations: 29.7 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.822e-05/0.6135, allocations: 116 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.6136, allocations: 23.84 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.07e-05/0.6136, allocations: 7.938 kB / 1.383 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.6138, allocations: 326.8 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.6139, allocations: 67.95 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.614, allocations: 85.67 kB / 1.383 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.6141, allocations: 101.7 kB / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6141, allocations: 0 / 1.384 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004528/0.6146, allocations: 307 kB / 1.384 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.981e-05/0.6147, allocations: 33.7 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.6147, allocations: 3.938 kB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.6147, allocations: 4 kB / 1.384 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.104e-05/0.6148, allocations: 11.98 kB / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.6148, allocations: 0 / 1.384 GB, free: 10.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.128e-05/0.6149, allocations: 19.83 kB / 1.384 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.6149, allocations: 4 kB / 1.384 GB, free: 10.73 MB / 0.8855 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.0001548/0.6151, allocations: 180.2 kB / 1.384 GB, free: 10.54 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.6151, allocations: 19.84 kB / 1.384 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.6153, allocations: 63.08 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.6153, allocations: 0 / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.6153, allocations: 4 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6153, allocations: 0 / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.6155, allocations: 221.5 kB / 1.384 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.6155, allocations: 0 / 1.384 GB, free: 10.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.6156, allocations: 8 kB / 1.384 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6156, allocations: 144 / 1.384 GB, free: 10.17 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.6156, allocations: 12 kB / 1.384 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.6156, allocations: 7.938 kB / 1.384 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.6156, allocations: 3.984 kB / 1.384 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.6162, allocations: 375 kB / 1.385 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.6163, allocations: 112.9 kB / 1.385 GB, free: 9.621 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.6164, allocations: 8.125 kB / 1.385 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.321e-05/0.6164, allocations: 15.94 kB / 1.385 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.838e-05/0.6165, allocations: 7.984 kB / 1.385 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.6165, allocations: 15.95 kB / 1.385 GB, free: 9.574 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001154/0.6166, allocations: 153.2 kB / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6166, allocations: 0 / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002768/0.6169, allocations: 39.94 kB / 1.385 GB, free: 9.387 MB / 0.8855 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.0008377/0.6178, allocations: 0.9386 MB / 1.386 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.6181, allocations: 219.2 kB / 1.386 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6181, allocations: 0 / 1.386 GB, free: 8.184 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.6182, allocations: 147.4 kB / 1.386 GB, free: 8.027 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.6184, allocations: 13.17 kB / 1.386 GB, free: 8.012 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.6201, allocations: 1.228 MB / 1.388 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.6204, allocations: 0.7197 MB / 1.388 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.51e-05/0.6205, allocations: 8 kB / 1.388 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.092e-05/0.6205, allocations: 35.36 kB / 1.388 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.6205, allocations: 0 / 1.388 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.6368, allocations: 2.75 MB / 1.391 GB, free: 3.363 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002357/0.6371, allocations: 212 kB / 1.391 GB, free: 3.125 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.5, allocations: 0 / 1.391 GB, free: 3.125 MB / 0.8855 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