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.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.001331/0.001331, allocations: 78.88 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.001382/0.001382, allocations: 158.9 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.406/1.406, 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 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.639/2.639, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 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.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_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: 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.002289/0.002289, allocations: 67.89 kB / 0.9515 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3072, allocations: 169.9 MB / 1.117 GB, free: 2.52 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006556/0.3138, allocations: 4.517 MB / 1.122 GB, free: 13.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.7415/1.055, allocations: 132.9 MB / 1.252 GB, free: 3.086 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009116/1.056, allocations: 23.53 kB / 1.252 GB, free: 3.074 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0009211/1.057, allocations: 204.2 kB / 1.252 GB, free: 2.934 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.002699/1.06, allocations: 0.6033 MB / 1.252 GB, free: 2.586 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/1.063, allocations: 0.8611 MB / 1.253 GB, free: 2.141 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002502/1.065, allocations: 1.473 MB / 1.255 GB, free: 1.375 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009789/1.066, allocations: 402.3 kB / 1.255 GB, free: 1.141 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/1.067, allocations: 0.5374 MB / 1.256 GB, free: 0.8789 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007256/1.068, allocations: 0.4954 MB / 1.256 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/1.068, allocations: 123 kB / 1.256 GB, free: 0.6406 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/1.069, allocations: 497.3 kB / 1.257 GB, free: 0.5352 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003476/1.07, allocations: 317.8 kB / 1.257 GB, free: 340 kB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000544/1.07, allocations: 491.5 kB / 1.257 GB, free: 48 kB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.002295/1.072, allocations: 1.745 MB / 1.259 GB, free: 15.31 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.072, allocations: 1.344 kB / 1.259 GB, free: 15.31 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.432e-06/1.072, allocations: 4 kB / 1.259 GB, free: 15.31 MB / 1.123 GB Notification: Performance of Transformations before backend: time 2.467e-05/1.072, allocations: 0 / 1.259 GB, free: 15.31 MB / 1.123 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.003066/1.075, allocations: 1.465 MB / 1.261 GB, free: 14.36 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/1.075, allocations: 9.406 kB / 1.261 GB, free: 14.36 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/1.078, allocations: 268.8 kB / 1.261 GB, free: 14.29 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001457/1.079, allocations: 0.7304 MB / 1.262 GB, free: 13.83 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.547e-05/1.079, allocations: 66.33 kB / 1.262 GB, free: 13.8 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/1.079, allocations: 85.89 kB / 1.262 GB, free: 13.77 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/1.081, allocations: 1.224 MB / 1.263 GB, free: 13.02 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/1.081, allocations: 0 / 1.263 GB, free: 13.02 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/1.081, allocations: 40.64 kB / 1.263 GB, free: 12.99 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/1.081, allocations: 25.78 kB / 1.263 GB, free: 12.99 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/1.083, allocations: 1.108 MB / 1.264 GB, free: 12.72 MB / 1.123 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.004656/1.088, allocations: 2.245 MB / 1.266 GB, free: 11.42 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/1.09, allocations: 0.8052 MB / 1.267 GB, free: 11.1 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005984/1.09, allocations: 291.1 kB / 1.267 GB, free: 10.99 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.866e-05/1.091, allocations: 26.91 kB / 1.267 GB, free: 10.98 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/1.092, allocations: 0.6317 MB / 1.268 GB, free: 10.64 MB / 1.123 GB Notification: Performance of pre-optimization done (n=88): time 2.845e-06/1.092, allocations: 0 / 1.268 GB, free: 10.64 MB / 1.123 GB Notification: Performance of matching and sorting (n=88): time 0.003865/1.096, allocations: 1.22 MB / 1.269 GB, free: 10.2 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001584/1.096, allocations: 195.9 kB / 1.269 GB, free: 9.973 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009776/1.097, allocations: 0.6236 MB / 1.27 GB, free: 9.691 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 7.633e-05/1.097, allocations: 42.77 kB / 1.27 GB, free: 9.648 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/1.097, allocations: 426.2 kB / 1.27 GB, free: 9.316 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/1.097, allocations: 298 kB / 1.271 GB, free: 9.082 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003021/1.098, allocations: 177.5 kB / 1.271 GB, free: 9 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002228/1.098, allocations: 390.5 kB / 1.271 GB, free: 8.652 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006217/1.099, allocations: 292.8 kB / 1.271 GB, free: 8.551 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008087/1.099, allocations: 0.5119 MB / 1.272 GB, free: 8.227 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/1.101, allocations: 0.6534 MB / 1.273 GB, free: 7.926 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.101, allocations: 4 kB / 1.273 GB, free: 7.922 MB / 1.123 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002271/1.103, allocations: 0.9199 MB / 1.274 GB, free: 7.555 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.103, allocations: 10.94 kB / 1.274 GB, free: 7.551 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/1.103, allocations: 1.25 kB / 1.274 GB, free: 7.551 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006279/1.104, allocations: 83.27 kB / 1.274 GB, free: 7.531 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/1.104, allocations: 183.7 kB / 1.274 GB, free: 7.512 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/1.107, allocations: 1.502 MB / 1.275 GB, free: 6.141 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008653/1.107, allocations: 95.97 kB / 1.275 GB, free: 6.094 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/1.108, allocations: 41.02 kB / 1.275 GB, free: 6.086 MB / 1.123 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.0005467/1.108, allocations: 279.6 kB / 1.276 GB, free: 5.879 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/1.108, allocations: 84.28 kB / 1.276 GB, free: 5.836 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002868/1.111, allocations: 1.167 MB / 1.277 GB, free: 5.383 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.111, allocations: 10.5 kB / 1.277 GB, free: 5.383 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/1.111, allocations: 0 / 1.277 GB, free: 5.383 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/1.111, allocations: 10.17 kB / 1.277 GB, free: 5.379 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/1.112, allocations: 0.6678 MB / 1.278 GB, free: 5.016 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/1.112, allocations: 0 / 1.278 GB, free: 5.016 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006393/1.113, allocations: 153.7 kB / 1.278 GB, free: 5.004 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004549/1.113, allocations: 73.42 kB / 1.278 GB, free: 4.984 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.665e-05/1.113, allocations: 27.19 kB / 1.278 GB, free: 4.973 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002052/1.116, allocations: 1.523 MB / 1.279 GB, free: 3.59 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.116, allocations: 5.062 kB / 1.279 GB, free: 3.59 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/1.118, allocations: 0.9994 MB / 1.28 GB, free: 3.168 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/1.118, allocations: 206.2 kB / 1.28 GB, free: 3.055 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/1.119, allocations: 23.44 kB / 1.28 GB, free: 3.039 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/1.119, allocations: 68.55 kB / 1.281 GB, free: 3.023 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/1.12, allocations: 86.75 kB / 1.281 GB, free: 3.008 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.502e-05/1.12, allocations: 39.75 kB / 1.281 GB, free: 3 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0007527/1.12, allocations: 457 kB / 1.281 GB, free: 2.801 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.12, allocations: 0 / 1.281 GB, free: 2.801 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001267/1.122, allocations: 355.8 kB / 1.281 GB, free: 2.699 MB / 1.123 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.002199/1.124, allocations: 0.6397 MB / 1.282 GB, free: 2.457 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002121/1.126, allocations: 0.8621 MB / 1.283 GB, free: 2.102 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.126, allocations: 1.344 kB / 1.283 GB, free: 2.102 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/1.127, allocations: 0.511 MB / 1.283 GB, free: 1.867 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/1.128, allocations: 301.3 kB / 1.284 GB, free: 1.762 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/1.132, allocations: 1.764 MB / 1.285 GB, free: 0.8555 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006245/1.133, allocations: 461.3 kB / 1.286 GB, free: 0.7227 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001059/1.134, allocations: 280.8 kB / 1.286 GB, free: 0.6367 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/1.134, allocations: 121.8 kB / 1.286 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of SimCode: time 1.172e-06/1.134, allocations: 0 / 1.286 GB, free: 0.6094 MB / 1.123 GB Notification: Performance of Templates: time 0.03061/1.165, allocations: 16.13 MB / 1.302 GB, free: 10.49 MB / 1.139 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 -s ida -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/jenkins1/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.44199971400667]