Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.SolarGeometry.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.001969/0.001969, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002399/0.002399, allocations: 156.2 kB / 23.01 MB, free: 4.949 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.588/1.588, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.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 2.764/2.764, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.SolarGeometry.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.002204/0.002204, allocations: 67.89 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8959/0.8981, allocations: 176.1 MB / 1.154 GB, free: 33.28 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.004983/0.9031, allocations: 4.384 MB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1731/1.076, allocations: 132.7 MB / 1.288 GB, free: 4.91 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008976/1.077, allocations: 23.5 kB / 1.288 GB, free: 4.898 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0008357/1.078, allocations: 200 kB / 1.288 GB, free: 4.762 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002383/1.08, allocations: 0.5636 MB / 1.288 GB, free: 4.422 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/1.083, allocations: 0.8599 MB / 1.289 GB, free: 3.953 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.002211/1.085, allocations: 1.413 MB / 1.291 GB, free: 3.211 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009734/1.086, allocations: 397.1 kB / 1.291 GB, free: 2.977 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/1.087, allocations: 0.5035 MB / 1.292 GB, free: 2.727 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/1.088, allocations: 467.9 kB / 1.292 GB, free: 2.508 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003564/1.088, allocations: 122.5 kB / 1.292 GB, free: 2.504 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/1.09, allocations: 494.4 kB / 1.293 GB, free: 2.391 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0003558/1.09, allocations: 300.2 kB / 1.293 GB, free: 2.199 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0005644/1.091, allocations: 467.8 kB / 1.293 GB, free: 1.926 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.002339/1.093, allocations: 1.709 MB / 1.295 GB, free: 1.199 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.093, allocations: 0 / 1.295 GB, free: 1.199 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.402e-06/1.093, allocations: 1.5 kB / 1.295 GB, free: 1.199 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.984e-05/1.093, allocations: 0 / 1.295 GB, free: 1.199 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.002847/1.096, allocations: 1.407 MB / 1.296 GB, free: 280 kB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/1.096, allocations: 10.59 kB / 1.296 GB, free: 280 kB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/1.098, allocations: 245.8 kB / 1.297 GB, free: 204 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/1.099, allocations: 0.7125 MB / 1.297 GB, free: 15.75 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/1.099, allocations: 60.94 kB / 1.297 GB, free: 15.72 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/1.099, allocations: 81.44 kB / 1.297 GB, free: 15.69 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/1.101, allocations: 1.173 MB / 1.299 GB, free: 14.91 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/1.101, allocations: 0.875 kB / 1.299 GB, free: 14.91 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/1.101, allocations: 40.17 kB / 1.299 GB, free: 14.88 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/1.101, allocations: 20.81 kB / 1.299 GB, free: 14.88 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/1.103, allocations: 1.06 MB / 1.3 GB, free: 14.35 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00395/1.107, allocations: 2.115 MB / 1.302 GB, free: 12.77 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/1.109, allocations: 0.7605 MB / 1.303 GB, free: 12.37 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/1.109, allocations: 280.3 kB / 1.303 GB, free: 12.23 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 7.098e-05/1.109, allocations: 27.09 kB / 1.303 GB, free: 12.21 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009532/1.11, allocations: 0.5942 MB / 1.303 GB, free: 11.77 MB / 1.154 GB Notification: Performance of pre-optimization done (n=79): time 2.445e-06/1.11, allocations: 0 / 1.303 GB, free: 11.77 MB / 1.154 GB Notification: Performance of matching and sorting (n=79): time 0.003252/1.113, allocations: 1.114 MB / 1.304 GB, free: 11.21 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/1.113, allocations: 189.8 kB / 1.305 GB, free: 10.99 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/1.114, allocations: 0.5981 MB / 1.305 GB, free: 10.64 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/1.114, allocations: 42.33 kB / 1.305 GB, free: 10.59 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003546/1.115, allocations: 409.3 kB / 1.306 GB, free: 10.23 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/1.115, allocations: 267.7 kB / 1.306 GB, free: 10 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002545/1.115, allocations: 157.3 kB / 1.306 GB, free: 9.91 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0002086/1.115, allocations: 388.7 kB / 1.306 GB, free: 9.539 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005646/1.116, allocations: 267.3 kB / 1.307 GB, free: 9.41 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007349/1.117, allocations: 492.8 kB / 1.307 GB, free: 9.043 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/1.118, allocations: 0.6077 MB / 1.308 GB, free: 8.715 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.118, allocations: 0 / 1.308 GB, free: 8.715 MB / 1.154 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002127/1.12, allocations: 0.849 MB / 1.309 GB, free: 8.273 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/1.12, allocations: 5.906 kB / 1.309 GB, free: 8.273 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.12, allocations: 5.172 kB / 1.309 GB, free: 8.27 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/1.121, allocations: 81.06 kB / 1.309 GB, free: 8.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/1.121, allocations: 158 kB / 1.309 GB, free: 8.191 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/1.124, allocations: 1.526 MB / 1.31 GB, free: 6.738 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008269/1.124, allocations: 82.27 kB / 1.31 GB, free: 6.688 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/1.124, allocations: 42.28 kB / 1.31 GB, free: 6.668 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005335/1.125, allocations: 264.1 kB / 1.311 GB, free: 6.465 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/1.125, allocations: 93.81 kB / 1.311 GB, free: 6.41 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002526/1.128, allocations: 1.05 MB / 1.312 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/1.128, allocations: 8.375 kB / 1.312 GB, free: 5.824 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-06/1.128, allocations: 5.219 kB / 1.312 GB, free: 5.82 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/1.128, allocations: 3.984 kB / 1.312 GB, free: 5.816 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003504/1.131, allocations: 1.712 MB / 1.314 GB, free: 4.668 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.131, allocations: 3.938 kB / 1.314 GB, free: 4.664 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/1.132, allocations: 143.8 kB / 1.314 GB, free: 4.523 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004547/1.132, allocations: 64.8 kB / 1.314 GB, free: 4.457 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.026e-05/1.132, allocations: 31.97 kB / 1.314 GB, free: 4.426 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002068/1.134, allocations: 1.547 MB / 1.315 GB, free: 2.773 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/1.134, allocations: 0 / 1.315 GB, free: 2.773 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/1.137, allocations: 0.9984 MB / 1.316 GB, free: 1.754 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004447/1.137, allocations: 199.1 kB / 1.316 GB, free: 1.559 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/1.137, allocations: 23.94 kB / 1.316 GB, free: 1.535 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006649/1.138, allocations: 63.45 kB / 1.316 GB, free: 1.477 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/1.138, allocations: 68.86 kB / 1.317 GB, free: 1.41 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.909e-05/1.138, allocations: 39.97 kB / 1.317 GB, free: 1.371 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0006318/1.139, allocations: 435 kB / 1.317 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.21e-07/1.139, allocations: 0 / 1.317 GB, free: 0.9531 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001159/1.14, allocations: 331.1 kB / 1.317 GB, free: 0.6289 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002086/1.142, allocations: 0.6375 MB / 1.318 GB, free: 196 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.001833/1.144, allocations: 0.8001 MB / 1.319 GB, free: 15.38 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/1.144, allocations: 0 / 1.319 GB, free: 15.38 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0009638/1.145, allocations: 496.2 kB / 1.319 GB, free: 14.88 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/1.146, allocations: 291 kB / 1.319 GB, free: 14.62 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003137/1.149, allocations: 1.671 MB / 1.321 GB, free: 12.91 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/1.15, allocations: 435.6 kB / 1.322 GB, free: 12.46 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0007937/1.151, allocations: 258.3 kB / 1.322 GB, free: 12.2 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/1.151, allocations: 108.4 kB / 1.322 GB, free: 12.1 MB / 1.17 GB Notification: Performance of SimCode: time 7.41e-07/1.151, allocations: 0 / 1.322 GB, free: 12.1 MB / 1.17 GB Notification: Performance of Templates: time 0.02863/1.179, allocations: 15.31 MB / 1.337 GB, free: 13.06 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.SolarGeometry.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.774342941003852]