Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.001773/0.001773, allocations: 78.8 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.002151/0.002151, allocations: 157.8 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.442/1.442, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] 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 2.85/2.85, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|incAng.incAng",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [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.002139/0.002139, allocations: 67.88 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.858/0.8602, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006629/0.8668, allocations: 4.534 MB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1867/1.053, allocations: 132.9 MB / 1.321 GB, free: 12.45 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/1.055, allocations: 23.81 kB / 1.321 GB, free: 12.43 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006733/1.055, allocations: 202.1 kB / 1.321 GB, free: 12.23 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.00216/1.057, allocations: 0.5972 MB / 1.322 GB, free: 11.64 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/1.06, allocations: 0.8675 MB / 1.322 GB, free: 10.77 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001873/1.062, allocations: 1.475 MB / 1.324 GB, free: 9.293 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007494/1.062, allocations: 410 kB / 1.324 GB, free: 8.867 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008103/1.063, allocations: 0.5411 MB / 1.325 GB, free: 8.324 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006861/1.064, allocations: 493.6 kB / 1.325 GB, free: 7.84 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001854/1.064, allocations: 124 kB / 1.325 GB, free: 7.719 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/1.065, allocations: 499.6 kB / 1.326 GB, free: 7.23 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003469/1.065, allocations: 319 kB / 1.326 GB, free: 6.918 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005179/1.066, allocations: 489.6 kB / 1.327 GB, free: 6.438 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.002145/1.068, allocations: 1.743 MB / 1.328 GB, free: 4.691 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.768e-06/1.068, allocations: 4 kB / 1.328 GB, free: 4.688 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.893e-06/1.068, allocations: 0 / 1.328 GB, free: 4.688 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.746e-05/1.068, allocations: 0 / 1.328 GB, free: 4.688 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002797/1.071, allocations: 1.468 MB / 1.33 GB, free: 3.184 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/1.071, allocations: 8.031 kB / 1.33 GB, free: 3.176 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/1.073, allocations: 275.9 kB / 1.33 GB, free: 2.906 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/1.074, allocations: 0.7337 MB / 1.331 GB, free: 2.145 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.093e-05/1.075, allocations: 66 kB / 1.331 GB, free: 2.078 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/1.075, allocations: 84 kB / 1.331 GB, free: 1.996 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/1.077, allocations: 1.22 MB / 1.332 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/1.077, allocations: 0 / 1.332 GB, free: 0.6758 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.793e-05/1.077, allocations: 39.94 kB / 1.332 GB, free: 0.6367 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.603e-05/1.077, allocations: 20 kB / 1.332 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/1.079, allocations: 1.116 MB / 1.333 GB, free: 15.5 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00435/1.083, allocations: 2.267 MB / 1.335 GB, free: 13.18 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001598/1.085, allocations: 0.7882 MB / 1.336 GB, free: 12.38 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005751/1.085, allocations: 290.7 kB / 1.336 GB, free: 12.09 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 9.218e-05/1.085, allocations: 28.62 kB / 1.337 GB, free: 12.07 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/1.086, allocations: 0.6361 MB / 1.337 GB, free: 11.39 MB / 1.186 GB Notification: Performance of pre-optimization done (n=88): time 2.535e-06/1.086, allocations: 0 / 1.337 GB, free: 11.39 MB / 1.186 GB Notification: Performance of matching and sorting (n=88): time 0.003541/1.09, allocations: 1.211 MB / 1.338 GB, free: 10.17 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/1.09, allocations: 196.9 kB / 1.338 GB, free: 9.938 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008814/1.091, allocations: 0.6253 MB / 1.339 GB, free: 9.301 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.271e-05/1.091, allocations: 41.7 kB / 1.339 GB, free: 9.254 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000385/1.091, allocations: 437 kB / 1.34 GB, free: 8.82 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/1.092, allocations: 293.6 kB / 1.34 GB, free: 8.531 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002762/1.092, allocations: 182.5 kB / 1.34 GB, free: 8.348 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002212/1.092, allocations: 382.8 kB / 1.34 GB, free: 7.965 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006045/1.093, allocations: 293.8 kB / 1.341 GB, free: 7.676 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008096/1.094, allocations: 0.5074 MB / 1.341 GB, free: 7.125 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/1.095, allocations: 0.6593 MB / 1.342 GB, free: 6.457 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/1.095, allocations: 0 / 1.342 GB, free: 6.457 MB / 1.186 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002244/1.097, allocations: 0.9195 MB / 1.343 GB, free: 5.523 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.097, allocations: 4 kB / 1.343 GB, free: 5.52 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.097, allocations: 3.938 kB / 1.343 GB, free: 5.516 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006456/1.098, allocations: 84.78 kB / 1.343 GB, free: 5.43 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000761/1.099, allocations: 179.8 kB / 1.343 GB, free: 5.254 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/1.101, allocations: 1.508 MB / 1.344 GB, free: 3.641 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008402/1.102, allocations: 95.62 kB / 1.345 GB, free: 3.547 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.704e-05/1.102, allocations: 43.97 kB / 1.345 GB, free: 3.504 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 (105): * Single equations (assignments): 104 * 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.0005132/1.102, allocations: 271.7 kB / 1.345 GB, free: 3.23 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/1.102, allocations: 91.44 kB / 1.345 GB, free: 3.141 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002716/1.105, allocations: 1.16 MB / 1.346 GB, free: 1.969 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/1.105, allocations: 15.94 kB / 1.346 GB, free: 1.953 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/1.105, allocations: 3.938 kB / 1.346 GB, free: 1.949 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.105, allocations: 3.984 kB / 1.346 GB, free: 1.945 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/1.106, allocations: 0.6693 MB / 1.347 GB, free: 1.246 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.106, allocations: 0 / 1.347 GB, free: 1.246 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/1.107, allocations: 155.7 kB / 1.347 GB, free: 1.094 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004644/1.107, allocations: 68.78 kB / 1.347 GB, free: 1.023 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-05/1.107, allocations: 35.97 kB / 1.347 GB, free: 0.9883 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002031/1.109, allocations: 1.529 MB / 1.348 GB, free: 15.35 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.109, allocations: 0 / 1.348 GB, free: 15.35 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/1.112, allocations: 1.002 MB / 1.349 GB, free: 14.32 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/1.112, allocations: 203.1 kB / 1.35 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/1.112, allocations: 27.94 kB / 1.35 GB, free: 14.1 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007203/1.113, allocations: 60.92 kB / 1.35 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/1.113, allocations: 80.84 kB / 1.35 GB, free: 13.96 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.635e-05/1.113, allocations: 39.97 kB / 1.35 GB, free: 13.92 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0006766/1.114, allocations: 463 kB / 1.35 GB, free: 13.47 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.114, allocations: 0 / 1.35 GB, free: 13.47 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009859/1.115, allocations: 351.1 kB / 1.351 GB, free: 13.13 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * 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.002177/1.117, allocations: 0.6439 MB / 1.351 GB, free: 12.69 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.002274/1.12, allocations: 0.8586 MB / 1.352 GB, free: 11.82 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.12, allocations: 0 / 1.352 GB, free: 11.82 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/1.121, allocations: 0.5235 MB / 1.353 GB, free: 11.28 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001332/1.122, allocations: 293.8 kB / 1.353 GB, free: 11.02 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0035/1.125, allocations: 1.773 MB / 1.355 GB, free: 9.215 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/1.126, allocations: 458.4 kB / 1.355 GB, free: 8.734 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008916/1.127, allocations: 266.9 kB / 1.355 GB, free: 8.469 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003326/1.127, allocations: 120.4 kB / 1.355 GB, free: 8.352 MB / 1.201 GB Notification: Performance of SimCode: time 8.12e-07/1.127, allocations: 3.938 kB / 1.355 GB, free: 8.348 MB / 1.201 GB Notification: Performance of Templates: time 0.03048/1.158, allocations: 16.12 MB / 1.371 GB, free: 8.488 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.747749789967202]