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.001836/0.001836, allocations: 108.9 kB / 16.46 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.002356/0.002356, allocations: 216.2 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.493/1.493, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.203/3.203, allocations: 0.4899 GB / 0.7915 GB, free: 33.48 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.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.002251/0.002251, allocations: 68.47 kB / 1.149 GB, free: 26.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3623, allocations: 176.1 MB / 1.321 GB, free: 2.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007235/0.3696, allocations: 5.065 MB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1975/0.5671, allocations: 154.1 MB / 1.477 GB, free: 3.062 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009425/0.568, allocations: 27.81 kB / 1.477 GB, free: 3.035 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006525/0.5687, allocations: 206 kB / 1.477 GB, free: 2.832 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00185/0.5705, allocations: 0.5873 MB / 1.477 GB, free: 2.246 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002263/0.5728, allocations: 0.9075 MB / 1.478 GB, free: 1.344 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00179/0.5746, allocations: 1.487 MB / 1.48 GB, free: 15.85 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008005/0.5754, allocations: 445 kB / 1.48 GB, free: 15.39 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008219/0.5762, allocations: 0.5412 MB / 1.481 GB, free: 14.85 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007584/0.577, allocations: 0.5484 MB / 1.481 GB, free: 14.3 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.5772, allocations: 124 kB / 1.481 GB, free: 14.18 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.5783, allocations: 0.5386 MB / 1.482 GB, free: 13.64 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003415/0.5786, allocations: 314.9 kB / 1.482 GB, free: 13.33 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0005952/0.5792, allocations: 0.5986 MB / 1.483 GB, free: 12.73 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.002397/0.5816, allocations: 1.774 MB / 1.485 GB, free: 10.95 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.5816, allocations: 8 kB / 1.485 GB, free: 10.94 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5816, allocations: 0 / 1.485 GB, free: 10.94 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.512e-05/0.5816, allocations: 0 / 1.485 GB, free: 10.94 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002935/0.5846, allocations: 1.561 MB / 1.486 GB, free: 9.324 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.5846, allocations: 15.98 kB / 1.486 GB, free: 9.309 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002001/0.5866, allocations: 272 kB / 1.486 GB, free: 9.043 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.5879, allocations: 0.7942 MB / 1.487 GB, free: 8.207 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.097e-05/0.588, allocations: 70 kB / 1.487 GB, free: 8.137 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001286/0.5881, allocations: 87.94 kB / 1.487 GB, free: 8.051 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.59, allocations: 0.9808 MB / 1.488 GB, free: 7.031 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.59, allocations: 0 / 1.488 GB, free: 7.031 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.602e-05/0.5901, allocations: 36 kB / 1.488 GB, free: 6.996 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.5901, allocations: 24 kB / 1.488 GB, free: 6.973 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.5922, allocations: 1.159 MB / 1.489 GB, free: 5.809 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004892/0.5971, allocations: 2.947 MB / 1.492 GB, free: 2.734 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.5993, allocations: 0.9263 MB / 1.493 GB, free: 1.781 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.5999, allocations: 302.5 kB / 1.494 GB, free: 1.484 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 8.741e-05/0.6, allocations: 36.67 kB / 1.494 GB, free: 1.449 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/0.601, allocations: 0.5296 MB / 1.494 GB, free: 0.9062 MB / 1.186 GB Notification: Performance of pre-optimization done (n=88): time 5.932e-06/0.601, allocations: 3.984 kB / 1.494 GB, free: 0.9023 MB / 1.186 GB Notification: Performance of matching and sorting (n=88): time 0.003821/0.6049, allocations: 1.314 MB / 1.495 GB, free: 15.57 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001466/0.605, allocations: 196.9 kB / 1.496 GB, free: 15.33 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.606, allocations: 0.6724 MB / 1.496 GB, free: 14.65 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.525e-05/0.6061, allocations: 45.7 kB / 1.496 GB, free: 14.6 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003967/0.6065, allocations: 417.2 kB / 1.497 GB, free: 14.18 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003064/0.6068, allocations: 301.4 kB / 1.497 GB, free: 13.89 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/0.6071, allocations: 182.5 kB / 1.497 GB, free: 13.7 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000224/0.6074, allocations: 390.8 kB / 1.497 GB, free: 13.31 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000624/0.608, allocations: 289.8 kB / 1.498 GB, free: 13.03 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007952/0.6088, allocations: 391.1 kB / 1.498 GB, free: 12.63 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.6101, allocations: 0.6554 MB / 1.499 GB, free: 11.97 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6101, allocations: 0 / 1.499 GB, free: 11.97 MB / 1.201 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002388/0.6125, allocations: 0.9233 MB / 1.5 GB, free: 11.03 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.6125, allocations: 10.44 kB / 1.5 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.6126, allocations: 4 kB / 1.5 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006367/0.6132, allocations: 84.77 kB / 1.5 GB, free: 10.93 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/0.6139, allocations: 175.8 kB / 1.5 GB, free: 10.76 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.6164, allocations: 1.63 MB / 1.502 GB, free: 8.988 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008713/0.6173, allocations: 103.5 kB / 1.502 GB, free: 8.887 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.333e-05/0.6174, allocations: 39.97 kB / 1.502 GB, free: 8.848 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: 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.0005133/0.6179, allocations: 288 kB / 1.502 GB, free: 8.555 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002005/0.6181, allocations: 95.39 kB / 1.502 GB, free: 8.461 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002845/0.621, allocations: 1.184 MB / 1.503 GB, free: 7.262 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.621, allocations: 8 kB / 1.503 GB, free: 7.254 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.621, allocations: 0 / 1.503 GB, free: 7.254 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.621, allocations: 15.89 kB / 1.503 GB, free: 7.238 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/0.6248, allocations: 2.103 MB / 1.505 GB, free: 5.074 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.6248, allocations: 7.938 kB / 1.505 GB, free: 5.066 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006993/0.6255, allocations: 167.8 kB / 1.505 GB, free: 4.902 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004566/0.626, allocations: 72.78 kB / 1.505 GB, free: 4.828 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.629e-05/0.6261, allocations: 27.98 kB / 1.506 GB, free: 4.801 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002131/0.6282, allocations: 1.658 MB / 1.507 GB, free: 3 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6282, allocations: 0 / 1.507 GB, free: 3 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002365/0.6305, allocations: 1.092 MB / 1.508 GB, free: 1.887 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/0.631, allocations: 304 kB / 1.508 GB, free: 1.57 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.6311, allocations: 20 kB / 1.509 GB, free: 1.551 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007485/0.6319, allocations: 71.92 kB / 1.509 GB, free: 1.48 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/0.632, allocations: 92.75 kB / 1.509 GB, free: 1.391 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.983e-05/0.6321, allocations: 35.98 kB / 1.509 GB, free: 1.355 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006719/0.6328, allocations: 499 kB / 1.509 GB, free: 0.875 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.6328, allocations: 3.938 kB / 1.509 GB, free: 0.8711 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009886/0.6338, allocations: 355.1 kB / 1.51 GB, free: 0.5234 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 (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.002035/0.6358, allocations: 0.6208 MB / 1.51 GB, free: 76 kB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.6378, allocations: 0.8742 MB / 1.511 GB, free: 15.19 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6378, allocations: 0 / 1.511 GB, free: 15.19 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/0.6389, allocations: 0.5275 MB / 1.511 GB, free: 14.65 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.6402, allocations: 303.6 kB / 1.512 GB, free: 14.37 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/0.6435, allocations: 1.803 MB / 1.514 GB, free: 12.54 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000755/0.6442, allocations: 1.055 MB / 1.515 GB, free: 11.45 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0008054/0.645, allocations: 275.2 kB / 1.515 GB, free: 11.18 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/0.6454, allocations: 123.4 kB / 1.515 GB, free: 11.06 MB / 1.217 GB Notification: Performance of SimCode: time 4.81e-07/0.6454, allocations: 0 / 1.515 GB, free: 11.06 MB / 1.217 GB Notification: Performance of Templates: time 0.02997/0.6753, allocations: 16.58 MB / 1.531 GB, free: 10.65 MB / 1.232 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 -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/jenkins/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.740120286121964]