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.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.0009264/0.0009264, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009494/0.0009494, allocations: 173 kB / 23.03 MB, free: 1.543 MB / 18.57 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 0.8923/0.8923, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.939/1.939, allocations: 429.5 MB / 0.6733 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0.7656 kB / 0.8781 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.462e-05, allocations: 5.547 kB / 0.8782 GB, free: 6.312 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001701/0.001715, allocations: 1.667 MB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007767/0.002492, allocations: 0.6627 MB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.002541, allocations: 0 / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.002677, allocations: 81.75 kB / 0.8805 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001978/0.002875, allocations: 105 kB / 0.8806 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.003133, allocations: 104.5 kB / 0.8807 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.00327, allocations: 136.5 kB / 0.8808 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 6.328e-05/0.003334, allocations: 8 kB / 0.8808 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.003494, allocations: 88.92 kB / 0.8809 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.00362, allocations: 107.8 kB / 0.881 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.003638, allocations: 8.969 kB / 0.881 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.003742, allocations: 87.86 kB / 0.8811 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.194e-05/0.003794, allocations: 32.83 kB / 0.8812 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.689e-05/0.003841, allocations: 35.91 kB / 0.8812 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.004029, allocations: 167.4 kB / 0.8813 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.00403, allocations: 0.75 kB / 0.8813 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004031, allocations: 0 / 0.8813 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.004035, allocations: 3.531 kB / 0.8814 GB, free: 3.059 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004939/0.004529, allocations: 0.513 MB / 0.8819 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.004558, allocations: 12.03 kB / 0.8819 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.004684, allocations: 32.7 kB / 0.8819 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.004832, allocations: 165.8 kB / 0.8821 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.004845, allocations: 8.359 kB / 0.8821 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.004857, allocations: 4.375 kB / 0.8821 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.005005, allocations: 128.6 kB / 0.8822 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.005014, allocations: 192 / 0.8822 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.005028, allocations: 8.953 kB / 0.8822 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.005037, allocations: 7.922 kB / 0.8822 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.329e-05/0.0051, allocations: 59.16 kB / 0.8823 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.005592, allocations: 458.5 kB / 0.8827 GB, free: 1.547 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.00572, allocations: 119.8 kB / 0.8828 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.57e-05/0.005776, allocations: 81.19 kB / 0.8829 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.00579, allocations: 0 / 0.8829 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.005944, allocations: 186.9 kB / 0.8831 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 8.82e-07/0.005945, allocations: 0 / 0.8831 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0003028/0.006247, allocations: 266.8 kB / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.00629, allocations: 110.8 kB / 0.8834 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.006421, allocations: 257.6 kB / 0.8837 GB, free: 412 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.006436, allocations: 29.7 kB / 0.8837 GB, free: 376 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.006497, allocations: 163.1 kB / 0.8839 GB, free: 204 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.006529, allocations: 47.69 kB / 0.8839 GB, free: 156 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.00657, allocations: 35.36 kB / 0.8839 GB, free: 112 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.00669, allocations: 0.5001 MB / 0.8844 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.497e-05/0.006735, allocations: 53.69 kB / 0.8845 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.006788, allocations: 80.98 kB / 0.8846 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.92e-05/0.006887, allocations: 134.6 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006889, allocations: 0 / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001789/0.007068, allocations: 224.7 kB / 0.8849 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.007092, allocations: 33.69 kB / 0.8849 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.007097, allocations: 4 kB / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.007108, allocations: 0 / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.007179, allocations: 20 kB / 0.885 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.007185, allocations: 4 kB / 0.885 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.094e-05/0.007236, allocations: 15.88 kB / 0.885 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.007247, allocations: 4 kB / 0.885 GB, free: 14.97 MB / 0.8542 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 9.075e-05/0.007338, allocations: 204 kB / 0.8852 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.007362, allocations: 27.84 kB / 0.8852 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.007491, allocations: 87.12 kB / 0.8853 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.007493, allocations: 0 / 0.8853 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.007497, allocations: 4 kB / 0.8853 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.0075, allocations: 4 kB / 0.8853 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.007612, allocations: 180.5 kB / 0.8855 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.007614, allocations: 96 / 0.8855 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/0.007644, allocations: 19.92 kB / 0.8855 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.007648, allocations: 7.922 kB / 0.8855 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.007657, allocations: 4 kB / 0.8855 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.007658, allocations: 0 / 0.8855 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.00766, allocations: 4 kB / 0.8855 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.007869, allocations: 279.7 kB / 0.8858 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.007917, allocations: 35.88 kB / 0.8858 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.007941, allocations: 12.19 kB / 0.8858 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.026e-05/0.007982, allocations: 8 kB / 0.8858 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.008021, allocations: 11.98 kB / 0.8858 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.008034, allocations: 7.984 kB / 0.8858 GB, free: 14 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.385e-05/0.008108, allocations: 180.3 kB / 0.886 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008108, allocations: 0 / 0.886 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001672/0.008275, allocations: 47.92 kB / 0.8861 GB, free: 13.77 MB / 0.8542 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.0001311/0.008406, allocations: 133.4 kB / 0.8862 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001932/0.008599, allocations: 222.3 kB / 0.8864 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008601, allocations: 0 / 0.8864 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.347e-05/0.008684, allocations: 140.7 kB / 0.8865 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.008831, allocations: 26.47 kB / 0.8865 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006041/0.009435, allocations: 335.9 kB / 0.8869 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.518e-05/0.009481, allocations: 75.31 kB / 0.8869 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.26e-05/0.009513, allocations: 12.73 kB / 0.887 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.009543, allocations: 16.5 kB / 0.887 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.009543, allocations: 0 / 0.887 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of Templates: time 0.003469/0.01301, allocations: 1.847 MB / 0.8888 GB, free: 10.89 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.936430350877345]