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.35/2.35, allocations: 390.3 MB / 402.9 MB, free: 6.656 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.001683/0.001683, allocations: 180.7 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.701/1.701, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.001023/0.001023, allocations: 95.89 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.594e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3517, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.502, allocations: 151.5 MB / 1.367 GB, free: 2.625 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003785/1.503, allocations: 86.91 kB / 1.367 GB, free: 2.574 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01063/1.514, allocations: 3.26 MB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/1.514, allocations: 0 / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.003e-05/1.514, allocations: 0 / 1.37 GB, free: 15.77 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.0006107/1.514, allocations: 444.1 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/1.514, allocations: 8.031 kB / 1.37 GB, free: 15.29 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.845e-05/1.514, allocations: 30.56 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/1.514, allocations: 23.7 kB / 1.37 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003983/1.515, allocations: 212.9 kB / 1.371 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/1.515, allocations: 4 kB / 1.371 GB, free: 14.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/1.515, allocations: 6.562 kB / 1.371 GB, free: 14.97 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/1.515, allocations: 132 kB / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.515, allocations: 0 / 1.371 GB, free: 14.85 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/1.515, allocations: 4 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/1.515, allocations: 3.984 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/1.515, allocations: 80.95 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/1.516, allocations: 397.2 kB / 1.371 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/1.516, allocations: 116.9 kB / 1.371 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/1.516, allocations: 92.38 kB / 1.371 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/1.517, allocations: 4 kB / 1.371 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/1.517, allocations: 174.9 kB / 1.372 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/1.517, allocations: 0 / 1.372 GB, free: 13.99 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.000698/1.518, allocations: 305.9 kB / 1.372 GB, free: 13.72 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/1.518, allocations: 106.8 kB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/1.518, allocations: 189.2 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.842e-05/1.518, allocations: 33.05 kB / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/1.518, allocations: 110.2 kB / 1.372 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/1.518, allocations: 26.77 kB / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-06/1.518, allocations: 0 / 1.372 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002366/1.518, allocations: 329.2 kB / 1.373 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/1.518, allocations: 67.53 kB / 1.373 GB, free: 12.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/1.519, allocations: 85.86 kB / 1.373 GB, free: 12.82 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/1.519, allocations: 98.73 kB / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/1.519, allocations: 0 / 1.373 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004826/1.519, allocations: 316.5 kB / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.021e-05/1.519, allocations: 33.7 kB / 1.373 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.519, allocations: 3.984 kB / 1.373 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/1.519, allocations: 0 / 1.373 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.837e-05/1.519, allocations: 15.92 kB / 1.373 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/1.519, allocations: 3.953 kB / 1.373 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.247e-05/1.52, allocations: 8.062 kB / 1.373 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/1.52, allocations: 15.72 kB / 1.373 GB, free: 12.37 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.0001333/1.52, allocations: 148.3 kB / 1.373 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/1.52, allocations: 15.81 kB / 1.373 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/1.52, allocations: 65.7 kB / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/1.52, allocations: 3.938 kB / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.52, allocations: 0 / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.52, allocations: 4.094 kB / 1.374 GB, free: 12.13 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/1.52, allocations: 222 kB / 1.374 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/1.52, allocations: 4 kB / 1.374 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.898e-05/1.52, allocations: 15.97 kB / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/1.52, allocations: 0 / 1.374 GB, free: 11.87 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/1.52, allocations: 4 kB / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.52, allocations: 0 / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/1.52, allocations: 0 / 1.374 GB, free: 11.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005841/1.521, allocations: 385.5 kB / 1.374 GB, free: 11.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/1.521, allocations: 115.1 kB / 1.374 GB, free: 11.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/1.521, allocations: 7.938 kB / 1.374 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.881e-05/1.521, allocations: 4 kB / 1.374 GB, free: 11.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.392e-05/1.521, allocations: 11.45 kB / 1.374 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/1.521, allocations: 11.98 kB / 1.374 GB, free: 11.35 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001364/1.521, allocations: 146.1 kB / 1.374 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.521, allocations: 0 / 1.374 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002551/1.522, allocations: 43.19 kB / 1.374 GB, free: 11.18 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.0008798/1.523, allocations: 0.9387 MB / 1.375 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002889/1.523, allocations: 217 kB / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.523, allocations: 0 / 1.376 GB, free: 10.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/1.523, allocations: 154.1 kB / 1.376 GB, free: 9.938 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/1.523, allocations: 13.77 kB / 1.376 GB, free: 9.926 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006529/1.524, allocations: 298.3 kB / 1.376 GB, free: 9.625 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/1.524, allocations: 0.7188 MB / 1.377 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.752e-05/1.524, allocations: 11.91 kB / 1.377 GB, free: 8.871 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/1.524, allocations: 36.92 kB / 1.377 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.524, allocations: 0 / 1.377 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01686/1.541, allocations: 2.777 MB / 1.38 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/1.542, allocations: 184.4 kB / 1.38 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/3.448, allocations: 3.938 kB / 1.38 GB, free: 6.039 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