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/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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.00161/0.00161, allocations: 104 kB / 16.35 MB, free: 5.824 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.001829/0.001828, allocations: 191.2 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.151/2.151, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 61.52 kB / 0.814 GB, free: 32.82 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2445, allocations: 140.4 MB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00289/0.2475, allocations: 1.604 MB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2486, allocations: 0.6465 MB / 0.9533 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.897e-05/0.2487, allocations: 4 kB / 0.9533 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001508/0.2488, allocations: 75.81 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.2491, allocations: 107.6 kB / 0.9535 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.2495, allocations: 99.27 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.2497, allocations: 131.7 kB / 0.9537 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.043e-05/0.2498, allocations: 7.984 kB / 0.9537 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.2499, allocations: 71.8 kB / 0.9538 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.2501, allocations: 103.8 kB / 0.9539 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.2501, allocations: 8 kB / 0.9539 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.2503, allocations: 83.86 kB / 0.954 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.94e-05/0.2504, allocations: 31.86 kB / 0.954 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.194e-05/0.2504, allocations: 55.66 kB / 0.9541 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.2507, allocations: 167.4 kB / 0.9542 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2507, allocations: 0 / 0.9542 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.542e-06/0.2507, allocations: 0 / 0.9542 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.2507, allocations: 0 / 0.9542 GB, free: 4.816 MB / 0.7325 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.0006564/0.2514, allocations: 480.5 kB / 0.9547 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.2514, allocations: 12.03 kB / 0.9547 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.347e-05/0.2515, allocations: 12.75 kB / 0.9547 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.2517, allocations: 227.6 kB / 0.9549 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.2517, allocations: 8.312 kB / 0.9549 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.2518, allocations: 4.375 kB / 0.9549 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.252, allocations: 127.6 kB / 0.9551 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.252, allocations: 4 kB / 0.9551 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.252, allocations: 4 kB / 0.9551 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.252, allocations: 4 kB / 0.9551 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.2522, allocations: 71.91 kB / 0.9551 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004207/0.2526, allocations: 400.9 kB / 0.9555 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.2528, allocations: 121.1 kB / 0.9556 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.2529, allocations: 81.78 kB / 0.9557 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.2529, allocations: 3.938 kB / 0.9557 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.2532, allocations: 178.8 kB / 0.9559 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=13): time 2.906e-06/0.2532, allocations: 4 kB / 0.9559 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13): time 0.0004974/0.2537, allocations: 339.1 kB / 0.9562 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.2538, allocations: 106.8 kB / 0.9563 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.254, allocations: 214.8 kB / 0.9565 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.254, allocations: 25.7 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.2541, allocations: 112.1 kB / 0.9566 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.2541, allocations: 31.55 kB / 0.9567 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.2542, allocations: 33.7 kB / 0.9567 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.2543, allocations: 334.8 kB / 0.957 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.2544, allocations: 59.97 kB / 0.9571 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.897e-05/0.2545, allocations: 77.69 kB / 0.9572 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.2547, allocations: 189 kB / 0.9573 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2547, allocations: 0 / 0.9573 GB, free: 1.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003301/0.255, allocations: 275 kB / 0.9576 GB, free: 1.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/0.2551, allocations: 41.69 kB / 0.9576 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.2551, allocations: 0 / 0.9576 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.2551, allocations: 8 kB / 0.9577 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.2552, allocations: 8 kB / 0.9577 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.2552, allocations: 4 kB / 0.9577 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.2554, allocations: 7.984 kB / 0.9577 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.2554, allocations: 8 kB / 0.9577 GB, free: 0.9453 MB / 0.7325 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 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001428/0.2555, allocations: 179.7 kB / 0.9579 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.2556, allocations: 19.81 kB / 0.9579 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000214/0.2558, allocations: 103.1 kB / 0.958 GB, free: 0.6328 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.82e-06/0.2558, allocations: 3.984 kB / 0.958 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.2558, allocations: 0 / 0.958 GB, free: 0.6289 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2558, allocations: 4 kB / 0.958 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.256, allocations: 237.7 kB / 0.9582 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.256, allocations: 7.922 kB / 0.9582 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.386e-05/0.2561, allocations: 12 kB / 0.9582 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.2561, allocations: 4 kB / 0.9582 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.2562, allocations: 0 / 0.9582 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2562, allocations: 4 kB / 0.9582 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2562, allocations: 4 kB / 0.9582 GB, free: 320 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.2566, allocations: 331.3 kB / 0.9585 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.971e-05/0.2567, allocations: 108.9 kB / 0.9587 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.2567, allocations: 8 kB / 0.9587 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.798e-05/0.2568, allocations: 4 kB / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.2569, allocations: 7.984 kB / 0.9587 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.2569, allocations: 15.98 kB / 0.9587 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001263/0.2571, allocations: 164 kB / 0.9588 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2571, allocations: 4 kB / 0.9588 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002495/0.2573, allocations: 43.98 kB / 0.9589 GB, free: 15.59 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001975/0.2575, allocations: 133.3 kB / 0.959 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.2579, allocations: 243.3 kB / 0.9592 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2579, allocations: 0 / 0.9592 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001661/0.258, allocations: 175.3 kB / 0.9594 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.2583, allocations: 12 kB / 0.9594 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005552/0.2588, allocations: 332.6 kB / 0.9597 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.2591, allocations: 0.7429 MB / 0.9605 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.2591, allocations: 11.92 kB / 0.9605 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.2592, allocations: 15.44 kB / 0.9605 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.2592, allocations: 0 / 0.9605 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of Templates: time 0.004302/0.2635, allocations: 1.661 MB / 0.9621 GB, free: 12.21 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (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 & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches