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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009912/0.0009916, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009659/0.0009659, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.605/2.605, allocations: 436.5 MB / 0.7104 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003407, allocations: 11.94 kB / 0.8707 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.709, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001776/0.7109, allocations: 1.289 MB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.712, allocations: 0.6004 MB / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.7121, allocations: 0 / 1.023 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.7124, allocations: 75.81 kB / 1.023 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.7127, allocations: 87.86 kB / 1.023 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.713, allocations: 75.78 kB / 1.023 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.7131, allocations: 83.81 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.301e-05/0.7132, allocations: 8 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.7134, allocations: 67.86 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/0.7136, allocations: 79.78 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.7136, allocations: 0 / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.7137, allocations: 67.94 kB / 1.023 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.573e-05/0.7138, allocations: 31.89 kB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.624e-05/0.7139, allocations: 53.58 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.714, allocations: 109.8 kB / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7141, allocations: 0 / 1.023 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.7141, allocations: 3.938 kB / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.7141, allocations: 0 / 1.023 GB, free: 14.46 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007146/0.7148, allocations: 460.3 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.7148, allocations: 15.98 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.443e-05/0.7149, allocations: 15.81 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.7152, allocations: 206.8 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.7152, allocations: 0 / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.7152, allocations: 4 kB / 1.024 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.7154, allocations: 127.2 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.7155, allocations: 0 / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.7155, allocations: 0 / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.7155, allocations: 4 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001222/0.7156, allocations: 71.95 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004911/0.7161, allocations: 416.8 kB / 1.025 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.7163, allocations: 113.2 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.7163, allocations: 7.922 kB / 1.025 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003018/0.7167, allocations: 170.8 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.7167, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.000598/0.7173, allocations: 416.1 kB / 1.025 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.7174, allocations: 110.8 kB / 1.025 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000207/0.7176, allocations: 215.2 kB / 1.026 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.7176, allocations: 29.64 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/0.7177, allocations: 120 kB / 1.026 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.303e-05/0.7178, allocations: 35.7 kB / 1.026 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.7178, allocations: 7.938 kB / 1.026 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.7179, allocations: 326.8 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.352e-05/0.718, allocations: 59.98 kB / 1.026 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.7181, allocations: 81.61 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.7182, allocations: 85.69 kB / 1.026 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.7182, allocations: 3.953 kB / 1.026 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003164/0.7186, allocations: 267.3 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.418e-05/0.7186, allocations: 41.69 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.7186, allocations: 4.062 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.7186, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.7188, allocations: 15.98 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.7188, allocations: 0 / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.7189, allocations: 15.84 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.7189, allocations: 4 kB / 1.027 GB, free: 10.77 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.decAng.tNext,decAng.tNext,$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 (10): * Single equations (assignments): 9 * 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.0001438/0.7191, allocations: 185.1 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.7191, allocations: 23.77 kB / 1.027 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002125/0.7193, allocations: 95.06 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.7193, allocations: 0 / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7193, allocations: 0 / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.7193, allocations: 4 kB / 1.027 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/0.7195, allocations: 225.6 kB / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.7196, allocations: 0 / 1.027 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.7196, allocations: 19.89 kB / 1.027 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7196, allocations: 0 / 1.027 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.7196, allocations: 7.984 kB / 1.027 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.7197, allocations: 4 kB / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.7197, allocations: 96 / 1.027 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.7201, allocations: 352.9 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.267e-05/0.7202, allocations: 112.8 kB / 1.028 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.7203, allocations: 4 kB / 1.028 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.7204, allocations: 15.92 kB / 1.028 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.7204, allocations: 15.92 kB / 1.028 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.7205, allocations: 4 kB / 1.028 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001476/0.7206, allocations: 163 kB / 1.028 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7206, allocations: 0 / 1.028 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002569/0.7209, allocations: 40 kB / 1.028 GB, free: 9.398 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0001991/0.7211, allocations: 136 kB / 1.028 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003256/0.7214, allocations: 243.3 kB / 1.028 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.7214, allocations: 0 / 1.028 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.7216, allocations: 163.6 kB / 1.028 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.7218, allocations: 15.81 kB / 1.028 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005452/0.7223, allocations: 377.2 kB / 1.029 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.7226, allocations: 0.7278 MB / 1.029 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.7227, allocations: 11.97 kB / 1.029 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.7227, allocations: 11.44 kB / 1.03 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.7227, allocations: 0 / 1.03 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of Templates: time 0.004315/0.7271, allocations: 1.502 MB / 1.031 GB, free: 6.16 MB / 0.7794 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