Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|zen.zen",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001701/0.001701, allocations: 197.7 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.33/2.33, allocations: 390.2 MB / 0.6646 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 71.88 kB / 0.8125 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6569/0.6582, allocations: 140.3 MB / 0.9496 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005429/0.6637, allocations: 4.417 MB / 0.9539 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1737/0.8374, allocations: 150.6 MB / 1.101 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008659/0.8383, allocations: 11.94 kB / 1.101 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.8389, allocations: 178.3 kB / 1.101 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.8406, allocations: 0.5238 MB / 1.102 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001893/0.8425, allocations: 0.8334 MB / 1.102 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001316/0.8439, allocations: 1.339 MB / 1.104 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008697/0.8447, allocations: 0.6335 MB / 1.104 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005784/0.8453, allocations: 486.3 kB / 1.105 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005781/0.8459, allocations: 0.5056 MB / 1.105 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.8461, allocations: 116 kB / 1.105 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.8472, allocations: 467.6 kB / 1.106 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.8475, allocations: 303 kB / 1.106 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005309/0.848, allocations: 0.5557 MB / 1.107 GB, free: 324 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.85, allocations: 1.597 MB / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.85, allocations: 0 / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.432e-06/0.85, allocations: 0 / 1.108 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.85, allocations: 0 / 1.108 GB, free: 14.71 MB / 0.8731 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.002596/0.8526, allocations: 1.448 MB / 1.11 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.8527, allocations: 12.03 kB / 1.11 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/0.8536, allocations: 187.3 kB / 1.11 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009807/0.8546, allocations: 0.7508 MB / 1.111 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.8547, allocations: 62 kB / 1.111 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.8548, allocations: 84 kB / 1.111 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00153/0.8563, allocations: 0.9418 MB / 1.112 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.8564, allocations: 3.938 kB / 1.112 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.56e-05/0.8565, allocations: 40 kB / 1.112 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.8565, allocations: 24 kB / 1.112 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001746/0.8582, allocations: 1.12 MB / 1.113 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003917/0.8622, allocations: 2.539 MB / 1.115 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.8638, allocations: 0.9032 MB / 1.116 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005605/0.8644, allocations: 321.9 kB / 1.117 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.72e-05/0.8645, allocations: 28.69 kB / 1.117 GB, free: 6.031 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000982/0.8654, allocations: 0.512 MB / 1.117 GB, free: 5.5 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=84): time 4.098e-06/0.8655, allocations: 3.984 kB / 1.117 GB, free: 5.496 MB / 0.8731 GB Notification: Performance of matching and sorting (n=84): time 0.003356/0.8688, allocations: 1.247 MB / 1.118 GB, free: 4.223 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.8689, allocations: 192.9 kB / 1.118 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000851/0.8698, allocations: 0.6487 MB / 1.119 GB, free: 3.34 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/0.8699, allocations: 45.7 kB / 1.119 GB, free: 3.289 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.8702, allocations: 396.4 kB / 1.119 GB, free: 2.895 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.8705, allocations: 264.2 kB / 1.12 GB, free: 2.633 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.8708, allocations: 178.4 kB / 1.12 GB, free: 2.453 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002203/0.871, allocations: 390.8 kB / 1.12 GB, free: 2.062 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.8716, allocations: 269.8 kB / 1.121 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006304/0.8722, allocations: 375.1 kB / 1.121 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.8734, allocations: 0.6242 MB / 1.122 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.8734, allocations: 0 / 1.122 GB, free: 0.7773 MB / 0.8731 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002056/0.8755, allocations: 0.8761 MB / 1.122 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.8755, allocations: 4 kB / 1.122 GB, free: 15.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.8756, allocations: 11.92 kB / 1.122 GB, free: 15.88 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/0.8762, allocations: 80.88 kB / 1.122 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007059/0.8769, allocations: 175.8 kB / 1.123 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002667/0.8796, allocations: 1.619 MB / 1.124 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/0.8807, allocations: 101.9 kB / 1.124 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.202e-05/0.8807, allocations: 35.97 kB / 1.124 GB, free: 13.73 MB / 0.8887 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.000591/0.8813, allocations: 287.9 kB / 1.125 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.8815, allocations: 82.97 kB / 1.125 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/0.8841, allocations: 1.136 MB / 1.126 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.8841, allocations: 19.92 kB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.8841, allocations: 3.938 kB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.8841, allocations: 3.984 kB / 1.126 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003602/0.8877, allocations: 2.017 MB / 1.128 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.8878, allocations: 0 / 1.128 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000609/0.8884, allocations: 151.8 kB / 1.128 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/0.8888, allocations: 72.78 kB / 1.128 GB, free: 9.871 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.936e-05/0.8889, allocations: 31.98 kB / 1.128 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.8908, allocations: 1.662 MB / 1.13 GB, free: 8.031 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.8908, allocations: 4.062 kB / 1.13 GB, free: 8.027 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.8931, allocations: 1.043 MB / 1.131 GB, free: 6.969 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/0.8935, allocations: 283.6 kB / 1.131 GB, free: 6.672 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.8936, allocations: 16 kB / 1.131 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006815/0.8943, allocations: 67.92 kB / 1.131 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001725/0.8945, allocations: 84.83 kB / 1.131 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.8946, allocations: 35.98 kB / 1.131 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000616/0.8952, allocations: 467 kB / 1.132 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8952, allocations: 0 / 1.132 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0009174/0.8961, allocations: 315.3 kB / 1.132 GB, free: 5.711 MB / 0.8887 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.001391/0.8975, allocations: 0.613 MB / 1.132 GB, free: 5.27 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002607/0.9001, allocations: 1.085 MB / 1.134 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.9001, allocations: 0 / 1.134 GB, free: 4.172 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009814/0.9011, allocations: 0.5433 MB / 1.134 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.9025, allocations: 290.6 kB / 1.134 GB, free: 3.352 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004181/0.9067, allocations: 1.828 MB / 1.136 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/0.9074, allocations: 1.036 MB / 1.137 GB, free: 444 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009212/0.9083, allocations: 266.9 kB / 1.137 GB, free: 172 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.9086, allocations: 111.4 kB / 1.138 GB, free: 60 kB / 0.8887 GB Notification: Performance of SimCode: time 7.31e-07/0.9086, allocations: 0 / 1.138 GB, free: 60 kB / 0.8887 GB Notification: Performance of Templates: time 0.02697/0.9356, allocations: 15.22 MB / 1.152 GB, free: 0.9961 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches