Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.002033/0.002033, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002648/0.002648, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.525/1.525, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.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 3.278/3.278, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 MB / 0.6231 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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [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.002214/0.002214, allocations: 65.97 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3873, allocations: 176.1 MB / 1.326 GB, free: 1.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00847/0.3958, allocations: 4.479 MB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1957/0.5915, allocations: 132.7 MB / 1.459 GB, free: 8.133 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.5925, allocations: 31.75 kB / 1.46 GB, free: 8.102 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001037/0.5936, allocations: 198.2 kB / 1.46 GB, free: 7.906 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.002698/0.5963, allocations: 0.5753 MB / 1.46 GB, free: 7.332 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.5992, allocations: 0.8755 MB / 1.461 GB, free: 6.461 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.002545/0.6018, allocations: 1.448 MB / 1.463 GB, free: 5.008 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001053/0.6028, allocations: 402.8 kB / 1.463 GB, free: 4.59 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.6039, allocations: 0.5295 MB / 1.463 GB, free: 4.059 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009919/0.6049, allocations: 485.6 kB / 1.464 GB, free: 3.582 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004365/0.6054, allocations: 120 kB / 1.464 GB, free: 3.465 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.6067, allocations: 495.6 kB / 1.464 GB, free: 2.98 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0004612/0.6072, allocations: 315 kB / 1.465 GB, free: 2.672 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008422/0.608, allocations: 473.7 kB / 1.465 GB, free: 2.207 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.6113, allocations: 1.724 MB / 1.467 GB, free: 488 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.6113, allocations: 0 / 1.467 GB, free: 488 kB / 1.154 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6113, allocations: 4 kB / 1.467 GB, free: 484 kB / 1.154 GB Notification: Performance of Transformations before backend: time 6.183e-05/0.6113, allocations: 0 / 1.467 GB, free: 484 kB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.00392/0.6152, allocations: 1.446 MB / 1.468 GB, free: 14.99 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.6153, allocations: 12.03 kB / 1.468 GB, free: 14.98 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/0.6172, allocations: 252 kB / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/0.6191, allocations: 0.7298 MB / 1.469 GB, free: 13.97 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.449e-05/0.6192, allocations: 66 kB / 1.469 GB, free: 13.91 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/0.6194, allocations: 80 kB / 1.469 GB, free: 13.83 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002337/0.6217, allocations: 1.193 MB / 1.471 GB, free: 12.54 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.6218, allocations: 4 kB / 1.471 GB, free: 12.53 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.6219, allocations: 43.92 kB / 1.471 GB, free: 12.49 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.6219, allocations: 20 kB / 1.471 GB, free: 12.47 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002146/0.624, allocations: 1.077 MB / 1.472 GB, free: 11.39 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004947/0.629, allocations: 2.127 MB / 1.474 GB, free: 9.207 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.6308, allocations: 0.788 MB / 1.475 GB, free: 8.406 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006352/0.6315, allocations: 278.7 kB / 1.475 GB, free: 8.133 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 9.204e-05/0.6316, allocations: 28.62 kB / 1.475 GB, free: 8.105 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/0.6327, allocations: 0.618 MB / 1.475 GB, free: 7.445 MB / 1.17 GB Notification: Performance of pre-optimization done (n=84): time 3.226e-06/0.6327, allocations: 0 / 1.475 GB, free: 7.445 MB / 1.17 GB Notification: Performance of matching and sorting (n=84): time 0.003665/0.6364, allocations: 1.18 MB / 1.477 GB, free: 6.254 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/0.6365, allocations: 188.9 kB / 1.477 GB, free: 6.027 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.6377, allocations: 0.6135 MB / 1.477 GB, free: 5.406 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.6378, allocations: 45.7 kB / 1.477 GB, free: 5.355 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005046/0.6383, allocations: 417 kB / 1.478 GB, free: 4.941 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.6386, allocations: 289.7 kB / 1.478 GB, free: 4.656 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003282/0.6389, allocations: 166.6 kB / 1.478 GB, free: 4.488 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002423/0.6392, allocations: 386.7 kB / 1.479 GB, free: 4.102 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006389/0.6398, allocations: 281.8 kB / 1.479 GB, free: 3.824 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008172/0.6406, allocations: 0.4918 MB / 1.479 GB, free: 3.289 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.6419, allocations: 0.6203 MB / 1.48 GB, free: 2.66 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.6419, allocations: 0 / 1.48 GB, free: 2.66 MB / 1.17 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002253/0.6442, allocations: 0.8766 MB / 1.481 GB, free: 1.773 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.6442, allocations: 7.984 kB / 1.481 GB, free: 1.766 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6442, allocations: 8.094 kB / 1.481 GB, free: 1.758 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006452/0.6449, allocations: 84.66 kB / 1.481 GB, free: 1.672 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007379/0.6456, allocations: 171.8 kB / 1.481 GB, free: 1.504 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002402/0.648, allocations: 1.5 MB / 1.483 GB, free: 15.9 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009694/0.649, allocations: 97.83 kB / 1.483 GB, free: 15.8 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/0.6492, allocations: 39.97 kB / 1.483 GB, free: 15.77 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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 (99): * Single equations (assignments): 98 * 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.0006997/0.6499, allocations: 277.8 kB / 1.483 GB, free: 15.49 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.6502, allocations: 79.48 kB / 1.483 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002843/0.653, allocations: 1.132 MB / 1.484 GB, free: 14.26 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.653, allocations: 12 kB / 1.484 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.653, allocations: 3.938 kB / 1.484 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.653, allocations: 11.91 kB / 1.484 GB, free: 14.23 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004031/0.6571, allocations: 1.755 MB / 1.486 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.6571, allocations: 0 / 1.486 GB, free: 12.44 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006456/0.6577, allocations: 155.8 kB / 1.486 GB, free: 12.29 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004596/0.6582, allocations: 68.8 kB / 1.486 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.031e-05/0.6583, allocations: 31.97 kB / 1.486 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/0.6604, allocations: 1.524 MB / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6604, allocations: 0 / 1.488 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.663, allocations: 1.057 MB / 1.489 GB, free: 9.477 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006215/0.6636, allocations: 207 kB / 1.489 GB, free: 9.273 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.6638, allocations: 16 kB / 1.489 GB, free: 9.258 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008293/0.6646, allocations: 75.98 kB / 1.489 GB, free: 9.184 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000195/0.6648, allocations: 84.84 kB / 1.489 GB, free: 9.102 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.6649, allocations: 35.97 kB / 1.489 GB, free: 9.066 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0007844/0.6657, allocations: 447 kB / 1.489 GB, free: 8.637 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6657, allocations: 3.938 kB / 1.489 GB, free: 8.633 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001198/0.6669, allocations: 339.1 kB / 1.49 GB, free: 8.301 MB / 1.186 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 (99): * Single equations (assignments): 92 * 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.002422/0.6693, allocations: 0.6421 MB / 1.49 GB, free: 7.855 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.002589/0.6719, allocations: 0.8312 MB / 1.491 GB, free: 7.012 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.6719, allocations: 3.938 kB / 1.491 GB, free: 7.008 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.6733, allocations: 0.5121 MB / 1.492 GB, free: 6.484 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/0.6752, allocations: 292.4 kB / 1.492 GB, free: 6.219 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004202/0.6794, allocations: 1.731 MB / 1.494 GB, free: 4.457 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.68, allocations: 455.1 kB / 1.494 GB, free: 3.98 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0009771/0.681, allocations: 262.5 kB / 1.494 GB, free: 3.719 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003497/0.6813, allocations: 119.4 kB / 1.495 GB, free: 3.602 MB / 1.186 GB Notification: Performance of SimCode: time 1.062e-06/0.6813, allocations: 0 / 1.495 GB, free: 3.602 MB / 1.186 GB Notification: Performance of Templates: time 0.0323/0.7136, allocations: 16.81 MB / 1.511 GB, free: 3.051 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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: 10.321468701586127]