Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 167 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.423/1.423, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.708/2.708, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|decAng.decAng|solDecNOAA.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.411e-05, allocations: 4.812 kB / 0.951 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002916/0.002941, allocations: 1.615 MB / 0.9525 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.004285, allocations: 0.6354 MB / 0.9532 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.763e-05/0.004362, allocations: 4 kB / 0.9532 GB, free: 9.336 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.004537, allocations: 71.83 kB / 0.9532 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.004865, allocations: 115.5 kB / 0.9533 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.005287, allocations: 111.6 kB / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.005531, allocations: 135.6 kB / 0.9536 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.005617, allocations: 8 kB / 0.9536 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002636/0.005881, allocations: 91.83 kB / 0.9537 GB, free: 8.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.006105, allocations: 111.8 kB / 0.9538 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.11e-05/0.006137, allocations: 4 kB / 0.9538 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001749/0.006311, allocations: 87.91 kB / 0.9539 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.878e-05/0.00639, allocations: 35.86 kB / 0.9539 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.229e-05/0.006463, allocations: 27.92 kB / 0.9539 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003253/0.006788, allocations: 199.4 kB / 0.9541 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.006791, allocations: 0 / 0.9541 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 8.41e-07/0.006792, allocations: 3.938 kB / 0.9541 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.179e-06/0.006797, allocations: 0 / 0.9541 GB, free: 8.352 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000794/0.007591, allocations: 423 kB / 0.9545 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.007628, allocations: 8.031 kB / 0.9545 GB, free: 7.895 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.007815, allocations: 20.84 kB / 0.9545 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.008099, allocations: 159 kB / 0.9547 GB, free: 7.695 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.008119, allocations: 8.375 kB / 0.9547 GB, free: 7.688 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/0.008137, allocations: 8.375 kB / 0.9547 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.008405, allocations: 161.5 kB / 0.9549 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.008415, allocations: 192 / 0.9549 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.008429, allocations: 4.312 kB / 0.9549 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.008438, allocations: 7.938 kB / 0.9549 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001592/0.008597, allocations: 101.7 kB / 0.955 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.009122, allocations: 356.5 kB / 0.9553 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.009378, allocations: 138.9 kB / 0.9554 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.009512, allocations: 103.5 kB / 0.9555 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.009535, allocations: 4 kB / 0.9555 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.009824, allocations: 212.3 kB / 0.9558 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.009826, allocations: 0 / 0.9558 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0006393/0.01047, allocations: 410.5 kB / 0.9561 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.01055, allocations: 107 kB / 0.9562 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002244/0.01077, allocations: 214.6 kB / 0.9564 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.0108, allocations: 33.7 kB / 0.9565 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.455e-05/0.01088, allocations: 112.4 kB / 0.9566 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.065e-05/0.01093, allocations: 39.67 kB / 0.9566 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-05/0.011, allocations: 33.7 kB / 0.9567 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.01115, allocations: 330.8 kB / 0.957 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.01128, allocations: 97.67 kB / 0.9571 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.01142, allocations: 121.3 kB / 0.9572 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.01167, allocations: 201.1 kB / 0.9574 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.01167, allocations: 0 / 0.9574 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004228/0.0121, allocations: 320.7 kB / 0.9577 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.01214, allocations: 37.7 kB / 0.9577 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01215, allocations: 3.984 kB / 0.9577 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01216, allocations: 3.938 kB / 0.9577 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.01226, allocations: 15.94 kB / 0.9577 GB, free: 4.297 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.01227, allocations: 4.25 kB / 0.9577 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.01238, allocations: 19.88 kB / 0.9578 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.01241, allocations: 11.94 kB / 0.9578 GB, free: 4.262 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (decAng.k,$PRE.decAng.k,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 (12): * Single equations (assignments): 11 * 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.0001796/0.01259, allocations: 179.5 kB / 0.9579 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.01262, allocations: 23.84 kB / 0.958 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.01284, allocations: 107.5 kB / 0.9581 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.01285, allocations: 0 / 0.9581 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01285, allocations: 4 kB / 0.9581 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01286, allocations: 4 kB / 0.9581 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00021/0.01307, allocations: 169.1 kB / 0.9582 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01307, allocations: 0 / 0.9582 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.291e-05/0.01313, allocations: 15.98 kB / 0.9583 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.01314, allocations: 3.938 kB / 0.9583 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.01315, allocations: 4 kB / 0.9583 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01316, allocations: 0 / 0.9583 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.01316, allocations: 4 kB / 0.9583 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/0.01367, allocations: 369.1 kB / 0.9586 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.645e-05/0.01374, allocations: 23.89 kB / 0.9586 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.01378, allocations: 11.94 kB / 0.9587 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.01388, allocations: 15.98 kB / 0.9587 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.01393, allocations: 7.984 kB / 0.9587 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.01395, allocations: 8 kB / 0.9587 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001524/0.01411, allocations: 160.2 kB / 0.9588 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01411, allocations: 0 / 0.9588 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000274/0.01438, allocations: 47.94 kB / 0.9589 GB, free: 3.047 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,decAng.tNext,decAng.k,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 8 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.k,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0002501/0.01463, allocations: 137.2 kB / 0.959 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004422/0.01507, allocations: 290.6 kB / 0.9593 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01507, allocations: 4 kB / 0.9593 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.01529, allocations: 173 kB / 0.9595 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.01552, allocations: 12 kB / 0.9595 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/0.01629, allocations: 376.6 kB / 0.9598 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.01642, allocations: 114.2 kB / 0.9599 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.222e-05/0.01646, allocations: 12.67 kB / 0.9599 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.0165, allocations: 12.5 kB / 0.96 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of SimCode: time 7.71e-07/0.0165, allocations: 0 / 0.96 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of Templates: time 0.005681/0.02218, allocations: 1.738 MB / 0.9617 GB, free: 132 kB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.762078534811735]