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.379/2.379, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001396/0.001396, allocations: 184.8 kB / 487.4 MB, free: 5.02 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.679/1.679, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008632/0.000863, allocations: 107.8 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.911e-05/1.911e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3084, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/1.404, allocations: 150 MB / 1.353 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/1.404, allocations: 81.84 kB / 1.353 GB, free: 18.14 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00987/1.414, allocations: 3.245 MB / 1.356 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.134e-06/1.414, allocations: 0 / 1.356 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.826e-06/1.414, allocations: 3.844 kB / 1.356 GB, free: 33.64 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.0004847/1.414, allocations: 435.1 kB / 1.356 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.414, allocations: 12.66 kB / 1.356 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/1.414, allocations: 15.66 kB / 1.356 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/1.415, allocations: 216 kB / 1.356 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/1.415, allocations: 3.938 kB / 1.356 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/1.415, allocations: 1.562 kB / 1.356 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001564/1.415, allocations: 75.36 kB / 1.356 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/1.415, allocations: 130.6 kB / 1.357 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/1.415, allocations: 0 / 1.357 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/1.415, allocations: 7.625 kB / 1.357 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.415, allocations: 0 / 1.357 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/1.416, allocations: 373.5 kB / 1.357 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/1.416, allocations: 116.8 kB / 1.357 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/1.416, allocations: 86.38 kB / 1.357 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/1.416, allocations: 0 / 1.357 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/1.416, allocations: 172.1 kB / 1.357 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.723e-06/1.416, allocations: 0 / 1.357 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0005632/1.417, allocations: 275.4 kB / 1.358 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/1.417, allocations: 107.3 kB / 1.358 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/1.417, allocations: 181.1 kB / 1.358 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/1.417, allocations: 25.7 kB / 1.358 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/1.417, allocations: 110.7 kB / 1.358 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/1.417, allocations: 24.83 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.08e-05/1.417, allocations: 3.969 kB / 1.358 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.417, allocations: 330.6 kB / 1.358 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.259e-05/1.418, allocations: 69.95 kB / 1.358 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/1.418, allocations: 76.97 kB / 1.358 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/1.418, allocations: 72.89 kB / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/1.418, allocations: 0 / 1.359 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000388/1.418, allocations: 273.9 kB / 1.359 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/1.418, allocations: 35.62 kB / 1.359 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.418, allocations: 0 / 1.359 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/1.418, allocations: 4.625 kB / 1.359 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.181e-05/1.418, allocations: 13.59 kB / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.418, allocations: 3.984 kB / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.706e-05/1.418, allocations: 9.016 kB / 1.359 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/1.418, allocations: 15.03 kB / 1.359 GB, free: 31.61 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.0001164/1.419, allocations: 143.1 kB / 1.359 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000462/1.419, allocations: 284.9 kB / 1.359 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.277e-05/1.419, allocations: 19.47 kB / 1.359 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/1.419, allocations: 73.81 kB / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/1.419, allocations: 64 / 1.359 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.419, allocations: 7.812 kB / 1.359 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/1.419, allocations: 3.141 kB / 1.359 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/1.419, allocations: 204.6 kB / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.419, allocations: 0 / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.313e-05/1.419, allocations: 10.95 kB / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.419, allocations: 0 / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/1.419, allocations: 3.812 kB / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.419, allocations: 0 / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.419, allocations: 7.875 kB / 1.36 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/1.42, allocations: 337.8 kB / 1.36 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.432e-05/1.42, allocations: 112 kB / 1.36 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/1.42, allocations: 3.969 kB / 1.36 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.888e-05/1.42, allocations: 3.812 kB / 1.36 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/1.42, allocations: 10.55 kB / 1.36 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/1.42, allocations: 11.25 kB / 1.36 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001086/1.42, allocations: 152.8 kB / 1.36 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.42, allocations: 0 / 1.36 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000261/1.421, allocations: 38.92 kB / 1.36 GB, free: 30.91 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.0006558/1.421, allocations: 0.907 MB / 1.361 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002142/1.421, allocations: 203.2 kB / 1.361 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/1.421, allocations: 3.969 kB / 1.361 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.919e-05/1.422, allocations: 150 kB / 1.361 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/1.422, allocations: 11.17 kB / 1.361 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/1.422, allocations: 284 kB / 1.362 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/1.423, allocations: 0.722 MB / 1.362 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.052e-05/1.423, allocations: 4.312 kB / 1.362 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/1.423, allocations: 39.97 kB / 1.363 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.423, allocations: 0 / 1.363 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/1.446, allocations: 2.439 MB / 1.365 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002327/1.446, allocations: 183 kB / 1.365 GB, free: 28.81 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/3.152, allocations: 0 / 1.365 GB, free: 28.81 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