Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.788/2.788, allocations: 476.7 MB / 0.7646 GB, free: 9.828 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 63.89 kB / 1.11 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9061/0.9081, allocations: 168.8 MB / 1.274 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.008248/0.9164, allocations: 5.034 MB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2054/1.122, allocations: 151.4 MB / 1.427 GB, free: 7.109 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/1.123, allocations: 23.81 kB / 1.427 GB, free: 7.086 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0007774/1.124, allocations: 202.1 kB / 1.427 GB, free: 6.887 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002306/1.126, allocations: 0.5814 MB / 1.428 GB, free: 6.305 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/1.128, allocations: 0.8728 MB / 1.429 GB, free: 5.438 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.002368/1.131, allocations: 1.456 MB / 1.43 GB, free: 3.973 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009057/1.132, allocations: 417.9 kB / 1.431 GB, free: 3.539 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009798/1.133, allocations: 0.5294 MB / 1.431 GB, free: 3.008 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007738/1.134, allocations: 0.5407 MB / 1.432 GB, free: 2.465 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002093/1.134, allocations: 120 kB / 1.432 GB, free: 2.348 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/1.135, allocations: 491.6 kB / 1.432 GB, free: 1.867 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/1.135, allocations: 311 kB / 1.432 GB, free: 1.562 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0006962/1.136, allocations: 0.583 MB / 1.433 GB, free: 0.9766 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.002881/1.139, allocations: 1.692 MB / 1.435 GB, free: 15.28 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/1.139, allocations: 0 / 1.435 GB, free: 15.28 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.315e-06/1.139, allocations: 3.938 kB / 1.435 GB, free: 15.28 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.679e-05/1.139, allocations: 0 / 1.435 GB, free: 15.28 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.003357/1.142, allocations: 1.437 MB / 1.436 GB, free: 13.8 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.142, allocations: 8.031 kB / 1.436 GB, free: 13.8 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/1.143, allocations: 204 kB / 1.436 GB, free: 13.6 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001437/1.145, allocations: 0.7181 MB / 1.437 GB, free: 12.86 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/1.145, allocations: 70 kB / 1.437 GB, free: 12.79 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/1.145, allocations: 84 kB / 1.437 GB, free: 12.7 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001881/1.147, allocations: 0.9691 MB / 1.438 GB, free: 11.7 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/1.147, allocations: 0 / 1.438 GB, free: 11.7 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/1.147, allocations: 36 kB / 1.438 GB, free: 11.66 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.736e-05/1.147, allocations: 24 kB / 1.438 GB, free: 11.64 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/1.149, allocations: 1.159 MB / 1.439 GB, free: 10.48 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005721/1.155, allocations: 2.815 MB / 1.442 GB, free: 7.547 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/1.157, allocations: 0.793 MB / 1.443 GB, free: 6.742 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006121/1.157, allocations: 294.7 kB / 1.443 GB, free: 6.453 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.521e-05/1.157, allocations: 36.67 kB / 1.443 GB, free: 6.418 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/1.158, allocations: 0.5332 MB / 1.444 GB, free: 5.867 MB / 1.139 GB Notification: Performance of pre-optimization done (n=88): time 2.856e-06/1.158, allocations: 0 / 1.444 GB, free: 5.867 MB / 1.139 GB Notification: Performance of matching and sorting (n=88): time 0.003779/1.162, allocations: 1.219 MB / 1.445 GB, free: 4.641 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/1.162, allocations: 196.9 kB / 1.445 GB, free: 4.402 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/1.163, allocations: 0.6528 MB / 1.446 GB, free: 3.738 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 8.912e-05/1.163, allocations: 45.7 kB / 1.446 GB, free: 3.688 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/1.164, allocations: 413.1 kB / 1.446 GB, free: 3.277 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003017/1.164, allocations: 301.4 kB / 1.446 GB, free: 2.98 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/1.165, allocations: 178.6 kB / 1.447 GB, free: 2.801 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002279/1.165, allocations: 390.7 kB / 1.447 GB, free: 2.41 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006491/1.165, allocations: 293.8 kB / 1.447 GB, free: 2.125 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007586/1.166, allocations: 391.1 kB / 1.448 GB, free: 1.727 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/1.167, allocations: 0.6555 MB / 1.448 GB, free: 1.062 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.168, allocations: 0 / 1.448 GB, free: 1.062 MB / 1.139 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002376/1.17, allocations: 0.9272 MB / 1.449 GB, free: 124 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.17, allocations: 7.938 kB / 1.449 GB, free: 116 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/1.17, allocations: 3.984 kB / 1.449 GB, free: 112 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000644/1.171, allocations: 88.83 kB / 1.449 GB, free: 20 kB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008074/1.171, allocations: 175.7 kB / 1.449 GB, free: 15.85 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/1.174, allocations: 1.538 MB / 1.451 GB, free: 14.2 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009677/1.175, allocations: 95.47 kB / 1.451 GB, free: 14.1 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.169e-05/1.175, allocations: 47.97 kB / 1.451 GB, free: 14.05 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: 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.0005982/1.175, allocations: 283.5 kB / 1.451 GB, free: 13.77 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/1.176, allocations: 87.44 kB / 1.451 GB, free: 13.68 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002834/1.179, allocations: 1.168 MB / 1.453 GB, free: 12.5 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/1.179, allocations: 8 kB / 1.453 GB, free: 12.49 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/1.179, allocations: 0 / 1.453 GB, free: 12.49 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/1.179, allocations: 11.98 kB / 1.453 GB, free: 12.48 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/1.18, allocations: 0.9027 MB / 1.453 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/1.18, allocations: 0 / 1.453 GB, free: 11.54 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000665/1.181, allocations: 159.7 kB / 1.454 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004885/1.181, allocations: 68.8 kB / 1.454 GB, free: 11.31 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.016e-05/1.181, allocations: 39.91 kB / 1.454 GB, free: 11.27 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002158/1.183, allocations: 1.543 MB / 1.455 GB, free: 9.609 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.183, allocations: 4.062 kB / 1.455 GB, free: 9.605 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002417/1.186, allocations: 1.006 MB / 1.456 GB, free: 8.574 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000505/1.186, allocations: 207 kB / 1.456 GB, free: 8.371 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001371/1.186, allocations: 23.95 kB / 1.456 GB, free: 8.348 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007123/1.187, allocations: 67.86 kB / 1.456 GB, free: 8.281 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/1.187, allocations: 84.84 kB / 1.457 GB, free: 8.199 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-05/1.187, allocations: 40.05 kB / 1.457 GB, free: 8.16 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0007143/1.188, allocations: 483 kB / 1.457 GB, free: 7.691 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/1.188, allocations: 0 / 1.457 GB, free: 7.691 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001015/1.189, allocations: 339.2 kB / 1.457 GB, free: 7.359 MB / 1.154 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.002089/1.191, allocations: 0.621 MB / 1.458 GB, free: 6.918 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002091/1.193, allocations: 0.8585 MB / 1.459 GB, free: 6.047 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/1.193, allocations: 3.938 kB / 1.459 GB, free: 6.043 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.194, allocations: 0.516 MB / 1.459 GB, free: 5.516 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00144/1.196, allocations: 296.8 kB / 1.46 GB, free: 5.246 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/1.199, allocations: 1.76 MB / 1.461 GB, free: 3.457 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008063/1.2, allocations: 1.04 MB / 1.462 GB, free: 2.387 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009367/1.201, allocations: 271.1 kB / 1.463 GB, free: 2.117 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/1.201, allocations: 115.4 kB / 1.463 GB, free: 2.004 MB / 1.154 GB Notification: Performance of SimCode: time 6.31e-07/1.201, allocations: 0 / 1.463 GB, free: 2.004 MB / 1.154 GB Notification: Performance of Templates: time 0.03388/1.235, allocations: 16.68 MB / 1.479 GB, free: 1.504 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.788467274978757]