Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001475/0.001475, allocations: 108.6 kB / 15.73 MB, free: 72 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.001737/0.001737, allocations: 183.3 kB / 16.66 MB, free: 6.602 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.351/1.351, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 469.8 MB / 0.7425 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.279, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.00584/0.2848, allocations: 4.931 MB / 1.225 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8992/1.184, allocations: 151 MB / 1.373 GB, free: 10.91 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/1.185, allocations: 19.62 kB / 1.373 GB, free: 10.91 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009287/1.186, allocations: 196.5 kB / 1.373 GB, free: 10.78 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002495/1.189, allocations: 0.5624 MB / 1.374 GB, free: 10.46 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/1.191, allocations: 0.8488 MB / 1.374 GB, free: 10.02 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002292/1.193, allocations: 1.431 MB / 1.376 GB, free: 9.277 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009891/1.194, allocations: 418.7 kB / 1.376 GB, free: 9.027 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/1.196, allocations: 0.5058 MB / 1.377 GB, free: 8.777 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/1.197, allocations: 0.5211 MB / 1.377 GB, free: 8.504 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.00054/1.197, allocations: 117.3 kB / 1.377 GB, free: 8.504 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001797/1.199, allocations: 484.8 kB / 1.378 GB, free: 8.391 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00055/1.2, allocations: 309.7 kB / 1.378 GB, free: 8.195 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001374/1.201, allocations: 0.5724 MB / 1.379 GB, free: 7.812 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003495/1.205, allocations: 1.665 MB / 1.38 GB, free: 6.859 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.205, allocations: 0 / 1.38 GB, free: 6.859 MB / 1.076 GB Notification: Performance of FrontEnd: time 4.118e-06/1.205, allocations: 1 kB / 1.38 GB, free: 6.859 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.622e-05/1.205, allocations: 0 / 1.38 GB, free: 6.859 MB / 1.076 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.004587/1.209, allocations: 1.5 MB / 1.382 GB, free: 5.668 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/1.209, allocations: 9.844 kB / 1.382 GB, free: 5.668 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/1.211, allocations: 188.7 kB / 1.382 GB, free: 5.578 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001773/1.213, allocations: 0.7767 MB / 1.383 GB, free: 4.941 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.613e-05/1.213, allocations: 69.12 kB / 1.383 GB, free: 4.906 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/1.213, allocations: 83.88 kB / 1.383 GB, free: 4.879 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/1.215, allocations: 0.945 MB / 1.384 GB, free: 4.27 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/1.215, allocations: 3.75 kB / 1.384 GB, free: 4.27 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/1.215, allocations: 40.98 kB / 1.384 GB, free: 4.238 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/1.215, allocations: 21.69 kB / 1.384 GB, free: 4.238 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/1.217, allocations: 1.118 MB / 1.385 GB, free: 3.707 MB / 1.076 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.004264/1.221, allocations: 2.734 MB / 1.388 GB, free: 1.52 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/1.223, allocations: 0.8631 MB / 1.388 GB, free: 1.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000583/1.223, allocations: 284.8 kB / 1.389 GB, free: 0.8711 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.979e-05/1.224, allocations: 35.45 kB / 1.389 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009632/1.225, allocations: 0.5149 MB / 1.389 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of pre-optimization done (n=84): time 4.158e-06/1.225, allocations: 1.156 kB / 1.389 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of matching and sorting (n=84): time 0.003554/1.228, allocations: 1.252 MB / 1.391 GB, free: 15.84 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.36e-05/1.228, allocations: 193.9 kB / 1.391 GB, free: 15.62 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/1.229, allocations: 0.6451 MB / 1.391 GB, free: 15.23 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.51e-05/1.229, allocations: 43.36 kB / 1.391 GB, free: 15.19 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/1.23, allocations: 408.3 kB / 1.392 GB, free: 14.84 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/1.23, allocations: 284 kB / 1.392 GB, free: 14.59 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002663/1.23, allocations: 170 kB / 1.392 GB, free: 14.49 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.23, allocations: 389.6 kB / 1.393 GB, free: 14.12 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005937/1.231, allocations: 280.6 kB / 1.393 GB, free: 13.98 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006558/1.232, allocations: 380 kB / 1.393 GB, free: 13.76 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/1.233, allocations: 0.6285 MB / 1.394 GB, free: 13.43 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/1.233, allocations: 0 / 1.394 GB, free: 13.43 MB / 1.092 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002124/1.235, allocations: 0.8835 MB / 1.395 GB, free: 12.97 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/1.235, allocations: 5.906 kB / 1.395 GB, free: 12.97 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.235, allocations: 5.203 kB / 1.395 GB, free: 12.96 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006298/1.236, allocations: 84.88 kB / 1.395 GB, free: 12.92 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007475/1.236, allocations: 169.3 kB / 1.395 GB, free: 12.88 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/1.238, allocations: 1.63 MB / 1.397 GB, free: 11.28 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000904/1.239, allocations: 88.52 kB / 1.397 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.412e-05/1.239, allocations: 44.78 kB / 1.397 GB, free: 11.2 MB / 1.092 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.0004734/1.24, allocations: 271.9 kB / 1.397 GB, free: 10.99 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/1.24, allocations: 88.81 kB / 1.397 GB, free: 10.95 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/1.243, allocations: 1.144 MB / 1.398 GB, free: 10.31 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/1.243, allocations: 9.625 kB / 1.398 GB, free: 10.31 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.243, allocations: 3.938 kB / 1.398 GB, free: 10.31 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/1.243, allocations: 9.359 kB / 1.398 GB, free: 10.3 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003513/1.246, allocations: 2.008 MB / 1.4 GB, free: 8.977 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.246, allocations: 0 / 1.4 GB, free: 8.977 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006236/1.247, allocations: 159.8 kB / 1.4 GB, free: 8.938 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004527/1.247, allocations: 73.62 kB / 1.4 GB, free: 8.898 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.058e-05/1.247, allocations: 23.45 kB / 1.4 GB, free: 8.883 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00186/1.249, allocations: 1.663 MB / 1.402 GB, free: 7.262 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/1.249, allocations: 0 / 1.402 GB, free: 7.262 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/1.251, allocations: 1.058 MB / 1.403 GB, free: 6.664 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004551/1.252, allocations: 278.4 kB / 1.403 GB, free: 6.422 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/1.252, allocations: 25.36 kB / 1.403 GB, free: 6.402 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007185/1.253, allocations: 69.58 kB / 1.403 GB, free: 6.367 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/1.253, allocations: 77.73 kB / 1.403 GB, free: 6.328 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.89e-05/1.253, allocations: 38.39 kB / 1.403 GB, free: 6.312 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005756/1.253, allocations: 465.8 kB / 1.404 GB, free: 6.051 MB / 1.092 GB Notification: Performance of sort global known variables: time 9.1e-08/1.253, allocations: 3.938 kB / 1.404 GB, free: 6.047 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001047/1.255, allocations: 332.4 kB / 1.404 GB, free: 5.953 MB / 1.092 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.001438/1.256, allocations: 0.6129 MB / 1.405 GB, free: 5.668 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001799/1.258, allocations: 0.8332 MB / 1.406 GB, free: 5.23 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.84e-06/1.258, allocations: 5.891 kB / 1.406 GB, free: 5.227 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009258/1.259, allocations: 0.5075 MB / 1.406 GB, free: 4.93 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/1.26, allocations: 312.4 kB / 1.406 GB, free: 4.762 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/1.263, allocations: 1.714 MB / 1.408 GB, free: 3.742 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/1.264, allocations: 1.032 MB / 1.409 GB, free: 2.895 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008431/1.265, allocations: 268 kB / 1.409 GB, free: 2.762 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000272/1.265, allocations: 113.8 kB / 1.409 GB, free: 2.723 MB / 1.092 GB Notification: Performance of SimCode: time 7.41e-07/1.265, allocations: 0 / 1.409 GB, free: 2.723 MB / 1.092 GB Notification: Performance of Templates: time 0.02858/1.293, allocations: 15.85 MB / 1.425 GB, free: 3.488 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches