Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002032/0.002032, allocations: 80.3 kB / 19.18 MB, free: 2.52 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.00247/0.00247, allocations: 161 kB / 22.45 MB, free: 5.375 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.483/1.483, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.713/2.713, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|zen.y",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.806e-05/2.965e-05, allocations: 4.25 kB / 0.9509 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle): time 0.007186/0.007215, allocations: 4.39 MB / 0.9552 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1783/0.1855, allocations: 132.7 MB / 1.085 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009605/0.1864, allocations: 19.81 kB / 1.085 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006481/0.1871, allocations: 210.1 kB / 1.085 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.1891, allocations: 0.5638 MB / 1.086 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.1913, allocations: 0.8769 MB / 1.086 GB, free: 288 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001992/0.1933, allocations: 1.467 MB / 1.088 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007706/0.194, allocations: 397.7 kB / 1.088 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.1951, allocations: 0.7446 MB / 1.089 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006234/0.1957, allocations: 410.8 kB / 1.089 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002042/0.1959, allocations: 132 kB / 1.09 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001047/0.197, allocations: 0.4916 MB / 1.09 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003313/0.1973, allocations: 322.8 kB / 1.09 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.1978, allocations: 395 kB / 1.091 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.2001, allocations: 1.819 MB / 1.092 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2001, allocations: 0 / 1.092 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2001, allocations: 0 / 1.092 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.952e-05/0.2001, allocations: 0 / 1.092 GB, free: 10.1 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002769/0.2029, allocations: 1.427 MB / 1.094 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.2029, allocations: 12.03 kB / 1.094 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001766/0.2047, allocations: 248 kB / 1.094 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.206, allocations: 0.7258 MB / 1.095 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.348e-05/0.2061, allocations: 70.12 kB / 1.095 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.2062, allocations: 88 kB / 1.095 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.2081, allocations: 1.189 MB / 1.096 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.2081, allocations: 7.938 kB / 1.096 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.382e-05/0.2082, allocations: 36 kB / 1.096 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.2082, allocations: 20 kB / 1.096 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.2101, allocations: 1.073 MB / 1.097 GB, free: 5.047 MB / 0.9981 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.004722/0.2149, allocations: 2.244 MB / 1.099 GB, free: 2.746 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.2166, allocations: 0.8085 MB / 1.1 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/0.2172, allocations: 298.7 kB / 1.101 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.57e-05/0.2173, allocations: 24.64 kB / 1.101 GB, free: 1.617 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.2183, allocations: 0.6163 MB / 1.101 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=87): time 2.976e-06/0.2183, allocations: 0 / 1.101 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=87): time 0.457/0.6753, allocations: 1.158 MB / 1.102 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.329e-05/0.6754, allocations: 201.2 kB / 1.102 GB, free: 161.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008859/0.6763, allocations: 0.6008 MB / 1.103 GB, free: 161.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.6764, allocations: 48.81 kB / 1.103 GB, free: 161.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.6767, allocations: 405 kB / 1.103 GB, free: 161.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.6769, allocations: 288.8 kB / 1.104 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.6772, allocations: 176.2 kB / 1.104 GB, free: 161 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6773, allocations: 386.9 kB / 1.104 GB, free: 160.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006211/0.6779, allocations: 293.8 kB / 1.105 GB, free: 160.6 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007436/0.6787, allocations: 0.5149 MB / 1.105 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001228/0.6799, allocations: 0.644 MB / 1.106 GB, free: 160 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6799, allocations: 0.7188 kB / 1.106 GB, free: 160 MB / 0.9981 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002418/0.6823, allocations: 0.9232 MB / 1.107 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.6824, allocations: 5.984 kB / 1.107 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6824, allocations: 1.875 kB / 1.107 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007098/0.6831, allocations: 87.78 kB / 1.107 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007787/0.6839, allocations: 167.5 kB / 1.107 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.6857, allocations: 1.516 MB / 1.108 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008216/0.6866, allocations: 91.23 kB / 1.108 GB, free: 158.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/0.6867, allocations: 43.16 kB / 1.108 GB, free: 158.2 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (106): * Single equations (assignments): 105 * 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.0004542/0.6871, allocations: 281.8 kB / 1.109 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.6873, allocations: 93.89 kB / 1.109 GB, free: 157.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.6899, allocations: 1.084 MB / 1.11 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.6899, allocations: 9.812 kB / 1.11 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6899, allocations: 0.8438 kB / 1.11 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.6899, allocations: 5.484 kB / 1.11 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/0.6939, allocations: 1.909 MB / 1.112 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.6939, allocations: 6.562 kB / 1.112 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006409/0.6945, allocations: 150.1 kB / 1.112 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004997/0.695, allocations: 78.95 kB / 1.112 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.493e-05/0.6951, allocations: 29.17 kB / 1.112 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/0.6969, allocations: 1.534 MB / 1.114 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.6969, allocations: 0.5 kB / 1.114 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.6992, allocations: 1.034 MB / 1.115 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004558/0.6997, allocations: 201.5 kB / 1.115 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.6998, allocations: 22.88 kB / 1.115 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007694/0.7006, allocations: 73.84 kB / 1.115 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.7008, allocations: 73.05 kB / 1.115 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.641e-05/0.7009, allocations: 40.72 kB / 1.115 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006782/0.7016, allocations: 431.5 kB / 1.115 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7016, allocations: 0 / 1.115 GB, free: 154.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001113/0.7027, allocations: 341.6 kB / 1.116 GB, free: 154.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002235/0.7049, allocations: 0.6618 MB / 1.116 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002069/0.707, allocations: 0.8441 MB / 1.117 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.707, allocations: 5.312 kB / 1.117 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.708, allocations: 0.4981 MB / 1.118 GB, free: 153.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.7094, allocations: 299.6 kB / 1.118 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003488/0.7129, allocations: 1.69 MB / 1.12 GB, free: 152.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007832/0.7137, allocations: 440.1 kB / 1.12 GB, free: 152.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001013/0.7147, allocations: 269.8 kB / 1.12 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.7151, allocations: 109.4 kB / 1.12 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.7151, allocations: 0 / 1.12 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03019/0.7453, allocations: 15.71 MB / 1.136 GB, free: 149.1 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.146843690425158]