Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.001996/0.001996, allocations: 78.09 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.002422/0.002422, allocations: 160.4 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.441/1.441, 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.899/2.899, allocations: 394.2 MB / 0.6387 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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.zen",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.002387/0.002387, allocations: 71.83 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9011/0.9034, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00629/0.9097, allocations: 4.488 MB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.1861/1.096, allocations: 132.7 MB / 1.321 GB, free: 12.64 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/1.097, allocations: 23.81 kB / 1.321 GB, free: 12.62 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009192/1.098, allocations: 206.2 kB / 1.321 GB, free: 12.42 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002388/1.1, allocations: 0.57 MB / 1.321 GB, free: 11.85 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002535/1.103, allocations: 0.8793 MB / 1.322 GB, free: 10.98 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.002059/1.105, allocations: 1.444 MB / 1.324 GB, free: 9.527 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008699/1.106, allocations: 405.9 kB / 1.324 GB, free: 9.105 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/1.107, allocations: 0.5295 MB / 1.325 GB, free: 8.574 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/1.108, allocations: 485.6 kB / 1.325 GB, free: 8.098 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.000345/1.108, allocations: 120 kB / 1.325 GB, free: 7.98 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/1.11, allocations: 499.6 kB / 1.326 GB, free: 7.492 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0004957/1.11, allocations: 311 kB / 1.326 GB, free: 7.188 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008356/1.111, allocations: 473.7 kB / 1.326 GB, free: 6.723 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00285/1.114, allocations: 1.735 MB / 1.328 GB, free: 4.984 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/1.114, allocations: 7.938 kB / 1.328 GB, free: 4.977 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.843e-06/1.114, allocations: 0 / 1.328 GB, free: 4.977 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.281e-05/1.114, allocations: 0 / 1.328 GB, free: 4.977 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.003439/1.117, allocations: 1.444 MB / 1.329 GB, free: 3.496 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/1.117, allocations: 8.031 kB / 1.329 GB, free: 3.488 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/1.119, allocations: 248 kB / 1.33 GB, free: 3.246 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/1.121, allocations: 0.7182 MB / 1.33 GB, free: 2.5 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.152e-05/1.121, allocations: 66 kB / 1.33 GB, free: 2.434 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/1.121, allocations: 84 kB / 1.331 GB, free: 2.352 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/1.123, allocations: 1.201 MB / 1.332 GB, free: 1.051 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/1.123, allocations: 0 / 1.332 GB, free: 1.051 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-05/1.123, allocations: 39.98 kB / 1.332 GB, free: 1.012 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/1.123, allocations: 23.94 kB / 1.332 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/1.125, allocations: 1.081 MB / 1.333 GB, free: 15.9 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00433/1.129, allocations: 2.127 MB / 1.335 GB, free: 13.73 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/1.131, allocations: 0.7861 MB / 1.336 GB, free: 12.93 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/1.132, allocations: 286.7 kB / 1.336 GB, free: 12.65 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 7.709e-05/1.132, allocations: 20.64 kB / 1.336 GB, free: 12.63 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/1.133, allocations: 0.6202 MB / 1.337 GB, free: 11.96 MB / 1.186 GB Notification: Performance of pre-optimization done (n=84): time 2.605e-06/1.133, allocations: 0 / 1.337 GB, free: 11.96 MB / 1.186 GB Notification: Performance of matching and sorting (n=84): time 0.003608/1.136, allocations: 1.178 MB / 1.338 GB, free: 10.79 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/1.137, allocations: 188.9 kB / 1.338 GB, free: 10.55 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009279/1.137, allocations: 0.6174 MB / 1.338 GB, free: 9.926 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.58e-05/1.138, allocations: 49.7 kB / 1.339 GB, free: 9.871 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003915/1.138, allocations: 413.1 kB / 1.339 GB, free: 9.461 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/1.138, allocations: 285.6 kB / 1.339 GB, free: 9.18 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/1.139, allocations: 178.5 kB / 1.339 GB, free: 9 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002132/1.139, allocations: 382.7 kB / 1.34 GB, free: 8.617 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006092/1.139, allocations: 277.9 kB / 1.34 GB, free: 8.348 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008007/1.14, allocations: 0.4957 MB / 1.34 GB, free: 7.805 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001288/1.141, allocations: 0.6242 MB / 1.341 GB, free: 7.172 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.141, allocations: 0 / 1.341 GB, free: 7.172 MB / 1.186 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002281/1.144, allocations: 0.8765 MB / 1.342 GB, free: 6.281 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/1.144, allocations: 10.75 kB / 1.342 GB, free: 6.273 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/1.144, allocations: 4 kB / 1.342 GB, free: 6.27 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006715/1.144, allocations: 88.64 kB / 1.342 GB, free: 6.18 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/1.145, allocations: 167.8 kB / 1.342 GB, free: 6.016 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/1.148, allocations: 1.499 MB / 1.344 GB, free: 4.414 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008487/1.148, allocations: 91.56 kB / 1.344 GB, free: 4.324 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.224e-05/1.149, allocations: 39.91 kB / 1.344 GB, free: 4.285 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 (99): * Single equations (assignments): 98 * 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.0005226/1.149, allocations: 279.7 kB / 1.344 GB, free: 4.004 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002383/1.149, allocations: 87.44 kB / 1.344 GB, free: 3.918 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/1.152, allocations: 1.136 MB / 1.345 GB, free: 2.77 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/1.152, allocations: 12 kB / 1.345 GB, free: 2.758 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/1.152, allocations: 0 / 1.345 GB, free: 2.758 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/1.152, allocations: 7.922 kB / 1.345 GB, free: 2.75 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/1.156, allocations: 1.755 MB / 1.347 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/1.156, allocations: 0 / 1.347 GB, free: 0.9531 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006575/1.156, allocations: 155.8 kB / 1.347 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004618/1.157, allocations: 72.78 kB / 1.347 GB, free: 0.7266 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/1.157, allocations: 23.98 kB / 1.347 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002084/1.159, allocations: 1.525 MB / 1.349 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.159, allocations: 3.984 kB / 1.349 GB, free: 15.07 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00229/1.161, allocations: 1.049 MB / 1.35 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/1.162, allocations: 207 kB / 1.35 GB, free: 13.8 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/1.162, allocations: 24.06 kB / 1.35 GB, free: 13.77 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007454/1.163, allocations: 71.92 kB / 1.35 GB, free: 13.7 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/1.163, allocations: 77 kB / 1.35 GB, free: 13.63 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.821e-05/1.163, allocations: 43.95 kB / 1.35 GB, free: 13.59 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000629/1.164, allocations: 447 kB / 1.351 GB, free: 13.16 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/1.164, allocations: 0 / 1.351 GB, free: 13.16 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009722/1.165, allocations: 347 kB / 1.351 GB, free: 12.82 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 (99): * Single equations (assignments): 92 * 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.00216/1.167, allocations: 0.6348 MB / 1.352 GB, free: 12.38 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001878/1.169, allocations: 0.8311 MB / 1.352 GB, free: 11.54 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.169, allocations: 0 / 1.352 GB, free: 11.54 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/1.17, allocations: 0.5121 MB / 1.353 GB, free: 11.01 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001321/1.171, allocations: 301.5 kB / 1.353 GB, free: 10.73 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/1.174, allocations: 1.734 MB / 1.355 GB, free: 8.973 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005238/1.175, allocations: 453.8 kB / 1.355 GB, free: 8.5 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0008563/1.176, allocations: 262.6 kB / 1.356 GB, free: 8.238 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003057/1.176, allocations: 112.4 kB / 1.356 GB, free: 8.125 MB / 1.201 GB Notification: Performance of SimCode: time 5.91e-07/1.176, allocations: 7.938 kB / 1.356 GB, free: 8.117 MB / 1.201 GB Notification: Performance of Templates: time 0.03046/1.207, allocations: 15.77 MB / 1.371 GB, free: 8.602 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.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.946043774019927]