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: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.242/2.242, allocations: 390.3 MB / 402.8 MB, free: 6.668 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.001354/0.001353, allocations: 187 kB / 496.1 MB, free: 12.84 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.744/1.744, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0011/0.0011, allocations: 87.97 kB / 0.9317 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.528e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3758, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.607, allocations: 151.4 MB / 1.367 GB, free: 2.684 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/1.608, allocations: 84.88 kB / 1.367 GB, free: 2.637 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.009777/1.618, allocations: 3.262 MB / 1.37 GB, free: 15.83 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.203e-06/1.618, allocations: 4 kB / 1.37 GB, free: 15.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.087e-05/1.618, allocations: 0 / 1.37 GB, free: 15.82 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.000609/1.618, allocations: 430.8 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/1.618, allocations: 12.03 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/1.618, allocations: 15.89 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/1.619, allocations: 218.8 kB / 1.371 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/1.619, allocations: 7.5 kB / 1.371 GB, free: 15.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/1.619, allocations: 4 kB / 1.371 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/1.619, allocations: 128.7 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/1.619, allocations: 0 / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/1.619, allocations: 4 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/1.619, allocations: 3.938 kB / 1.371 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/1.619, allocations: 84.52 kB / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006096/1.62, allocations: 393.5 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/1.62, allocations: 123.3 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/1.62, allocations: 91.8 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/1.62, allocations: 0 / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/1.621, allocations: 177.2 kB / 1.372 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 1.452e-06/1.621, allocations: 0 / 1.372 GB, free: 14.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0006451/1.621, allocations: 297.2 kB / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/1.622, allocations: 118.7 kB / 1.372 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/1.622, allocations: 190.5 kB / 1.372 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/1.622, allocations: 25.7 kB / 1.372 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/1.622, allocations: 110.4 kB / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/1.622, allocations: 26.98 kB / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/1.622, allocations: 3.625 kB / 1.372 GB, free: 13.37 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001787/1.622, allocations: 322.5 kB / 1.373 GB, free: 13.05 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/1.622, allocations: 69.78 kB / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/1.622, allocations: 88.44 kB / 1.373 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/1.623, allocations: 99.91 kB / 1.373 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.623, allocations: 3.938 kB / 1.373 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004455/1.623, allocations: 308.9 kB / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.707e-05/1.623, allocations: 33.64 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.623, allocations: 4 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/1.623, allocations: 0 / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/1.623, allocations: 11.98 kB / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.623, allocations: 7.969 kB / 1.373 GB, free: 12.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/1.623, allocations: 7.953 kB / 1.373 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.395e-05/1.623, allocations: 15.38 kB / 1.373 GB, free: 12.48 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.0001399/1.624, allocations: 146.1 kB / 1.373 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.69e-05/1.624, allocations: 15.81 kB / 1.373 GB, free: 12.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/1.624, allocations: 66.45 kB / 1.373 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-06/1.624, allocations: 0 / 1.373 GB, free: 12.25 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/1.624, allocations: 4 kB / 1.373 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.624, allocations: 0 / 1.373 GB, free: 12.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/1.624, allocations: 230.7 kB / 1.374 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/1.624, allocations: 0 / 1.374 GB, free: 11.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.231e-05/1.624, allocations: 7.938 kB / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/1.624, allocations: 4 kB / 1.374 GB, free: 11.98 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/1.624, allocations: 4 kB / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.624, allocations: 0 / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/1.624, allocations: 0 / 1.374 GB, free: 11.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005982/1.625, allocations: 383.2 kB / 1.374 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/1.625, allocations: 118.9 kB / 1.374 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.332e-05/1.625, allocations: 4 kB / 1.374 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.034e-05/1.625, allocations: 6.875 kB / 1.374 GB, free: 11.48 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/1.625, allocations: 7.984 kB / 1.374 GB, free: 11.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-05/1.625, allocations: 18.52 kB / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000139/1.625, allocations: 147.2 kB / 1.374 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.625, allocations: 4 kB / 1.374 GB, free: 11.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002812/1.626, allocations: 43.98 kB / 1.374 GB, free: 11.28 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.0002936/1.626, allocations: 131.9 kB / 1.374 GB, free: 11.14 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003227/1.626, allocations: 211.4 kB / 1.375 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.626, allocations: 0 / 1.375 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/1.626, allocations: 146.8 kB / 1.375 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/1.627, allocations: 9.156 kB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/1.627, allocations: 246.8 kB / 1.375 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/1.628, allocations: 0.7195 MB / 1.376 GB, free: 9.859 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.631e-05/1.628, allocations: 3.984 kB / 1.376 GB, free: 9.855 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.52e-05/1.628, allocations: 11.44 kB / 1.376 GB, free: 9.844 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.628, allocations: 0 / 1.376 GB, free: 9.844 MB / 0.8386 GB Notification: Performance of Templates: time 0.004792/1.632, allocations: 1.221 MB / 1.377 GB, free: 8.652 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (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 & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches