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.001415/0.001415, allocations: 107 kB / 16.45 MB, free: 6.453 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.001501/0.001501, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.469/1.469, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.127/3.127, allocations: 0.4899 GB / 0.7915 GB, free: 33.24 MB / 0.6231 GB " [Timeout remaining time 177] 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.002071/0.002071, allocations: 74.58 kB / 1.149 GB, free: 26.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3564, allocations: 176.1 MB / 1.321 GB, free: 2.996 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.007168/0.3635, allocations: 4.99 MB / 1.326 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1851/0.5486, allocations: 154 MB / 1.476 GB, free: 3.379 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008491/0.5495, allocations: 27.81 kB / 1.477 GB, free: 3.352 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006162/0.5501, allocations: 202.1 kB / 1.477 GB, free: 3.152 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.5519, allocations: 0.5785 MB / 1.477 GB, free: 2.574 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.554, allocations: 0.866 MB / 1.478 GB, free: 1.715 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00172/0.5557, allocations: 1.452 MB / 1.48 GB, free: 264 kB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007359/0.5564, allocations: 433.4 kB / 1.48 GB, free: 15.81 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007338/0.5571, allocations: 0.5255 MB / 1.48 GB, free: 15.28 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006387/0.5578, allocations: 0.5266 MB / 1.481 GB, free: 14.75 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.5579, allocations: 120 kB / 1.481 GB, free: 14.64 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009794/0.5589, allocations: 0.5151 MB / 1.482 GB, free: 14.12 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003029/0.5592, allocations: 307 kB / 1.482 GB, free: 13.82 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005539/0.5598, allocations: 0.5713 MB / 1.482 GB, free: 13.25 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00215/0.5619, allocations: 1.724 MB / 1.484 GB, free: 11.52 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5619, allocations: 0 / 1.484 GB, free: 11.52 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5619, allocations: 0 / 1.484 GB, free: 11.52 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.562, allocations: 0 / 1.484 GB, free: 11.52 MB / 1.186 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.002847/0.5648, allocations: 1.523 MB / 1.486 GB, free: 9.941 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 6.008e-05/0.5649, allocations: 15.98 kB / 1.486 GB, free: 9.926 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001773/0.5666, allocations: 248 kB / 1.486 GB, free: 9.684 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.5679, allocations: 0.8019 MB / 1.487 GB, free: 8.84 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.336e-05/0.568, allocations: 62 kB / 1.487 GB, free: 8.777 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.5681, allocations: 84 kB / 1.487 GB, free: 8.695 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.5698, allocations: 0.9418 MB / 1.488 GB, free: 7.715 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.5698, allocations: 0 / 1.488 GB, free: 7.715 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.45e-05/0.5699, allocations: 32 kB / 1.488 GB, free: 7.684 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.5699, allocations: 24 kB / 1.488 GB, free: 7.66 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001921/0.5718, allocations: 1.128 MB / 1.489 GB, free: 6.527 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004336/0.5762, allocations: 2.791 MB / 1.492 GB, free: 3.609 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.5779, allocations: 0.8563 MB / 1.492 GB, free: 2.719 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005844/0.5785, allocations: 290.7 kB / 1.493 GB, free: 2.434 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.746e-05/0.5785, allocations: 36.66 kB / 1.493 GB, free: 2.398 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009384/0.5795, allocations: 0.5081 MB / 1.493 GB, free: 1.871 MB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 2.605e-06/0.5795, allocations: 0 / 1.493 GB, free: 1.871 MB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.00356/0.583, allocations: 1.261 MB / 1.494 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001271/0.5832, allocations: 196.9 kB / 1.495 GB, free: 364 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009415/0.5841, allocations: 0.6723 MB / 1.495 GB, free: 15.68 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 7.244e-05/0.5842, allocations: 41.7 kB / 1.495 GB, free: 15.63 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003578/0.5845, allocations: 409.1 kB / 1.496 GB, free: 15.22 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002644/0.5848, allocations: 285.6 kB / 1.496 GB, free: 14.94 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002878/0.5851, allocations: 174.6 kB / 1.496 GB, free: 14.76 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.5853, allocations: 382.8 kB / 1.497 GB, free: 14.38 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005811/0.5859, allocations: 281.8 kB / 1.497 GB, free: 14.11 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/0.5866, allocations: 379 kB / 1.497 GB, free: 13.72 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001236/0.5878, allocations: 0.6242 MB / 1.498 GB, free: 13.09 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5878, allocations: 0 / 1.498 GB, free: 13.09 MB / 1.201 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002246/0.5901, allocations: 0.8804 MB / 1.499 GB, free: 12.2 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.5901, allocations: 10.5 kB / 1.499 GB, free: 12.19 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.5901, allocations: 4 kB / 1.499 GB, free: 12.18 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006357/0.5907, allocations: 88.86 kB / 1.499 GB, free: 12.09 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007215/0.5915, allocations: 171.7 kB / 1.499 GB, free: 11.93 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/0.5938, allocations: 1.626 MB / 1.501 GB, free: 10.15 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008301/0.5946, allocations: 87.7 kB / 1.501 GB, free: 10.07 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.164e-05/0.5947, allocations: 44.03 kB / 1.501 GB, free: 10.02 MB / 1.201 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.000479/0.5951, allocations: 283.6 kB / 1.501 GB, free: 9.73 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.5953, allocations: 95.39 kB / 1.501 GB, free: 9.637 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002696/0.598, allocations: 1.132 MB / 1.502 GB, free: 8.488 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.598, allocations: 19.92 kB / 1.502 GB, free: 8.469 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.5981, allocations: 0 / 1.502 GB, free: 8.469 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/0.5981, allocations: 3.984 kB / 1.502 GB, free: 8.465 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00375/0.6018, allocations: 2.021 MB / 1.504 GB, free: 6.383 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.6018, allocations: 0 / 1.504 GB, free: 6.383 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/0.6024, allocations: 163.8 kB / 1.504 GB, free: 6.223 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.6029, allocations: 72.73 kB / 1.504 GB, free: 6.148 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.589e-05/0.603, allocations: 31.97 kB / 1.504 GB, free: 6.117 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.6051, allocations: 1.662 MB / 1.506 GB, free: 4.309 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6051, allocations: 0 / 1.506 GB, free: 4.309 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.6073, allocations: 1.049 MB / 1.507 GB, free: 3.238 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004097/0.6077, allocations: 284.2 kB / 1.507 GB, free: 2.941 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.6078, allocations: 27.94 kB / 1.507 GB, free: 2.914 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007366/0.6085, allocations: 63.92 kB / 1.507 GB, free: 2.852 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001661/0.6087, allocations: 76.89 kB / 1.507 GB, free: 2.777 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.924e-05/0.6088, allocations: 39.97 kB / 1.507 GB, free: 2.738 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006399/0.6094, allocations: 479 kB / 1.508 GB, free: 2.277 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.6094, allocations: 4 kB / 1.508 GB, free: 2.273 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009534/0.6104, allocations: 343.1 kB / 1.508 GB, free: 1.938 MB / 1.201 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.001997/0.6124, allocations: 0.6141 MB / 1.509 GB, free: 1.496 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.6143, allocations: 0.8313 MB / 1.51 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.6143, allocations: 0 / 1.51 GB, free: 0.6523 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.6153, allocations: 0.5041 MB / 1.51 GB, free: 140 kB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.6167, allocations: 315.1 kB / 1.51 GB, free: 15.85 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.6199, allocations: 1.744 MB / 1.512 GB, free: 14.08 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007634/0.6207, allocations: 1.04 MB / 1.513 GB, free: 13.01 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008234/0.6215, allocations: 271.1 kB / 1.513 GB, free: 12.74 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003142/0.6218, allocations: 115.4 kB / 1.514 GB, free: 12.62 MB / 1.217 GB Notification: Performance of SimCode: time 5.21e-07/0.6218, allocations: 0 / 1.514 GB, free: 12.62 MB / 1.217 GB Notification: Performance of Templates: time 0.02998/0.6518, allocations: 16.06 MB / 1.529 GB, free: 12.75 MB / 1.232 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: 9.737061351072043]