Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001923/0.001923, allocations: 78.17 kB / 19.76 MB, free: 2.031 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.002526/0.002526, allocations: 157.9 kB / 23.01 MB, free: 4.945 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.463/1.463, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.823/2.823, allocations: 377.9 MB / 0.6228 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002207/0.002207, allocations: 71.89 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9507/0.9529, allocations: 176.1 MB / 1.154 GB, free: 33.31 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005156/0.958, allocations: 4.55 MB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1815/1.14, allocations: 132.8 MB / 1.288 GB, free: 4.742 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/1.141, allocations: 20.91 kB / 1.288 GB, free: 4.734 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/1.142, allocations: 203.2 kB / 1.288 GB, free: 4.594 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002933/1.145, allocations: 0.5751 MB / 1.289 GB, free: 4.25 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002812/1.147, allocations: 0.911 MB / 1.29 GB, free: 3.75 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002447/1.15, allocations: 1.498 MB / 1.291 GB, free: 2.973 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/1.151, allocations: 409 kB / 1.292 GB, free: 2.73 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/1.152, allocations: 0.5409 MB / 1.292 GB, free: 2.469 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/1.153, allocations: 0.4948 MB / 1.293 GB, free: 2.234 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003709/1.153, allocations: 124.9 kB / 1.293 GB, free: 2.234 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/1.155, allocations: 0.5182 MB / 1.293 GB, free: 2.105 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0005177/1.155, allocations: 314.4 kB / 1.293 GB, free: 1.906 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0009911/1.156, allocations: 498.2 kB / 1.294 GB, free: 1.617 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003365/1.16, allocations: 1.784 MB / 1.296 GB, free: 0.8633 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 9.828e-06/1.16, allocations: 4 kB / 1.296 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.803e-06/1.16, allocations: 1.344 kB / 1.296 GB, free: 0.8594 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.516e-05/1.16, allocations: 0 / 1.296 GB, free: 0.8594 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00319/1.163, allocations: 1.493 MB / 1.297 GB, free: 15.89 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/1.163, allocations: 13.72 kB / 1.297 GB, free: 15.88 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002007/1.165, allocations: 262.7 kB / 1.297 GB, free: 15.81 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001487/1.166, allocations: 0.7382 MB / 1.298 GB, free: 15.3 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.278e-05/1.167, allocations: 66.41 kB / 1.298 GB, free: 15.27 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/1.167, allocations: 85.12 kB / 1.298 GB, free: 15.24 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/1.169, allocations: 1.227 MB / 1.3 GB, free: 14.3 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/1.169, allocations: 1.5 kB / 1.3 GB, free: 14.3 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.725e-05/1.169, allocations: 36.53 kB / 1.3 GB, free: 14.28 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/1.169, allocations: 22.06 kB / 1.3 GB, free: 14.28 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/1.171, allocations: 1.119 MB / 1.301 GB, free: 13.71 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004527/1.175, allocations: 2.266 MB / 1.303 GB, free: 12.03 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/1.178, allocations: 0.8601 MB / 1.304 GB, free: 11.58 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/1.178, allocations: 294.3 kB / 1.304 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.63e-05/1.178, allocations: 27.91 kB / 1.304 GB, free: 11.42 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/1.179, allocations: 0.6423 MB / 1.305 GB, free: 10.95 MB / 1.154 GB Notification: Performance of pre-optimization done (n=88): time 3.056e-06/1.179, allocations: 0 / 1.305 GB, free: 10.95 MB / 1.154 GB Notification: Performance of matching and sorting (n=88): time 0.003719/1.183, allocations: 1.218 MB / 1.306 GB, free: 10.34 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/1.183, allocations: 202.5 kB / 1.306 GB, free: 10.11 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009127/1.184, allocations: 0.6147 MB / 1.307 GB, free: 9.75 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.201e-05/1.184, allocations: 48.05 kB / 1.307 GB, free: 9.703 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/1.185, allocations: 423.1 kB / 1.307 GB, free: 9.332 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/1.185, allocations: 293.4 kB / 1.307 GB, free: 9.078 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003071/1.185, allocations: 181.4 kB / 1.308 GB, free: 8.969 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002161/1.185, allocations: 385.5 kB / 1.308 GB, free: 8.602 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006362/1.186, allocations: 295.6 kB / 1.308 GB, free: 8.453 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008153/1.187, allocations: 0.5042 MB / 1.309 GB, free: 8.082 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001322/1.188, allocations: 0.6538 MB / 1.309 GB, free: 7.734 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.188, allocations: 0 / 1.309 GB, free: 7.734 MB / 1.154 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00256/1.191, allocations: 0.919 MB / 1.31 GB, free: 7.266 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/1.191, allocations: 5.375 kB / 1.31 GB, free: 7.266 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/1.191, allocations: 5.188 kB / 1.31 GB, free: 7.262 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/1.191, allocations: 77.39 kB / 1.31 GB, free: 7.227 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007897/1.192, allocations: 182.5 kB / 1.31 GB, free: 7.176 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/1.195, allocations: 1.505 MB / 1.312 GB, free: 5.742 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009111/1.195, allocations: 99.14 kB / 1.312 GB, free: 5.68 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.577e-05/1.195, allocations: 37.16 kB / 1.312 GB, free: 5.668 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005406/1.196, allocations: 289.6 kB / 1.312 GB, free: 5.441 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/1.196, allocations: 88.03 kB / 1.312 GB, free: 5.395 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002856/1.199, allocations: 1.184 MB / 1.314 GB, free: 4.66 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/1.199, allocations: 12 kB / 1.314 GB, free: 4.648 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/1.199, allocations: 3.938 kB / 1.314 GB, free: 4.645 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/1.199, allocations: 3.984 kB / 1.314 GB, free: 4.641 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/1.203, allocations: 1.837 MB / 1.315 GB, free: 2.762 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.203, allocations: 0 / 1.315 GB, free: 2.762 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006988/1.204, allocations: 159.8 kB / 1.316 GB, free: 2.605 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004742/1.204, allocations: 72.78 kB / 1.316 GB, free: 2.531 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.432e-05/1.204, allocations: 39.97 kB / 1.316 GB, free: 2.492 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002118/1.206, allocations: 1.516 MB / 1.317 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/1.206, allocations: 3.938 kB / 1.317 GB, free: 0.8633 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/1.209, allocations: 1.096 MB / 1.318 GB, free: 15.74 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005149/1.209, allocations: 215 kB / 1.318 GB, free: 15.53 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/1.209, allocations: 20 kB / 1.318 GB, free: 15.51 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000778/1.21, allocations: 71.92 kB / 1.318 GB, free: 15.44 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001819/1.21, allocations: 88.78 kB / 1.319 GB, free: 15.36 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.161e-05/1.21, allocations: 39.97 kB / 1.319 GB, free: 15.32 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0006597/1.211, allocations: 455 kB / 1.319 GB, free: 14.88 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/1.211, allocations: 0 / 1.319 GB, free: 14.88 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001142/1.212, allocations: 363 kB / 1.319 GB, free: 14.52 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002197/1.214, allocations: 0.6607 MB / 1.32 GB, free: 14.07 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00197/1.216, allocations: 0.8624 MB / 1.321 GB, free: 13.2 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.216, allocations: 4.125 kB / 1.321 GB, free: 13.2 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001059/1.217, allocations: 0.5314 MB / 1.321 GB, free: 12.65 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/1.219, allocations: 294.3 kB / 1.322 GB, free: 12.38 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/1.222, allocations: 1.795 MB / 1.323 GB, free: 10.55 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/1.223, allocations: 465.2 kB / 1.324 GB, free: 10.07 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0008724/1.224, allocations: 282.8 kB / 1.324 GB, free: 9.793 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/1.224, allocations: 124.4 kB / 1.324 GB, free: 9.672 MB / 1.17 GB Notification: Performance of SimCode: time 3.81e-07/1.224, allocations: 0 / 1.324 GB, free: 9.672 MB / 1.17 GB Notification: Performance of Templates: time 0.03022/1.254, allocations: 16.24 MB / 1.34 GB, free: 9.719 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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: 9.956392780062743]