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.007461/0.007461, allocations: 108.3 kB / 15.74 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001891/0.001891, allocations: 198.1 kB / 16.68 MB, free: 5.965 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.348/1.348, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.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.329/2.329, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8312/0.8325, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.006083/0.8387, allocations: 4.414 MB / 1.092 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1725/1.011, allocations: 150.6 MB / 1.239 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009429/1.012, allocations: 23.34 kB / 1.239 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006996/1.013, allocations: 177.7 kB / 1.239 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002109/1.015, allocations: 0.519 MB / 1.24 GB, free: 336 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/1.017, allocations: 0.8505 MB / 1.241 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001632/1.019, allocations: 1.344 MB / 1.242 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009402/1.02, allocations: 0.6299 MB / 1.243 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007421/1.021, allocations: 495.5 kB / 1.243 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007243/1.022, allocations: 0.505 MB / 1.244 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0002319/1.022, allocations: 122.1 kB / 1.244 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009817/1.023, allocations: 485.8 kB / 1.244 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003382/1.023, allocations: 304.1 kB / 1.245 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000631/1.024, allocations: 0.5635 MB / 1.245 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001993/1.026, allocations: 1.629 MB / 1.247 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/1.026, allocations: 7.938 kB / 1.247 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/1.026, allocations: 0 / 1.247 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.135e-05/1.026, allocations: 0 / 1.247 GB, free: 11.12 MB / 0.9825 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.002823/1.029, allocations: 1.448 MB / 1.248 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/1.029, allocations: 8.031 kB / 1.248 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009135/1.03, allocations: 191.4 kB / 1.248 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/1.031, allocations: 0.778 MB / 1.249 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/1.031, allocations: 66 kB / 1.249 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/1.031, allocations: 87.98 kB / 1.249 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/1.033, allocations: 0.934 MB / 1.25 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/1.033, allocations: 7.938 kB / 1.25 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/1.033, allocations: 36 kB / 1.25 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.348e-05/1.033, allocations: 20 kB / 1.25 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001919/1.035, allocations: 1.128 MB / 1.251 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004108/1.039, allocations: 2.5 MB / 1.254 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/1.041, allocations: 0.9083 MB / 1.255 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005627/1.041, allocations: 306.7 kB / 1.255 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.841e-05/1.041, allocations: 36.67 kB / 1.255 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009362/1.042, allocations: 0.5235 MB / 1.255 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=84): time 2.725e-06/1.042, allocations: 0 / 1.255 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.003272/1.046, allocations: 1.243 MB / 1.257 GB, free: 0.6406 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/1.046, allocations: 196.9 kB / 1.257 GB, free: 416 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008753/1.047, allocations: 0.6449 MB / 1.257 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/1.047, allocations: 41.7 kB / 1.258 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/1.047, allocations: 400.4 kB / 1.258 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/1.047, allocations: 272 kB / 1.258 GB, free: 15.04 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002747/1.048, allocations: 170.5 kB / 1.258 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001745/1.048, allocations: 386.8 kB / 1.259 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005819/1.048, allocations: 281.8 kB / 1.259 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000653/1.049, allocations: 371.1 kB / 1.259 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/1.05, allocations: 0.6281 MB / 1.26 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/1.05, allocations: 0 / 1.26 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.002276/1.052, allocations: 0.8761 MB / 1.261 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.053, allocations: 4 kB / 1.261 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/1.053, allocations: 3.938 kB / 1.261 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006035/1.053, allocations: 80.88 kB / 1.261 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007321/1.054, allocations: 167.8 kB / 1.261 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/1.056, allocations: 1.634 MB / 1.263 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007699/1.057, allocations: 99.33 kB / 1.263 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.367e-05/1.057, allocations: 35.97 kB / 1.263 GB, free: 10.14 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: 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.0004492/1.057, allocations: 271.7 kB / 1.263 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/1.058, allocations: 86.97 kB / 1.263 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/1.06, allocations: 1.128 MB / 1.264 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/1.06, allocations: 19.94 kB / 1.264 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.06, allocations: 4 kB / 1.264 GB, free: 8.605 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/1.06, allocations: 7.969 kB / 1.264 GB, free: 8.598 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003506/1.064, allocations: 2.018 MB / 1.266 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/1.064, allocations: 0 / 1.266 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006256/1.064, allocations: 151.8 kB / 1.266 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/1.065, allocations: 84.66 kB / 1.266 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.99e-05/1.065, allocations: 23.98 kB / 1.266 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001969/1.067, allocations: 1.654 MB / 1.268 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/1.067, allocations: 0 / 1.268 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/1.069, allocations: 1.049 MB / 1.269 GB, free: 3.391 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004041/1.069, allocations: 279.7 kB / 1.269 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/1.07, allocations: 16 kB / 1.269 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/1.07, allocations: 71.92 kB / 1.269 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/1.07, allocations: 76.89 kB / 1.27 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-05/1.071, allocations: 35.97 kB / 1.27 GB, free: 2.902 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005854/1.071, allocations: 467 kB / 1.27 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.071, allocations: 0 / 1.27 GB, free: 2.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008676/1.072, allocations: 315.2 kB / 1.27 GB, free: 2.141 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: 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.001459/1.073, allocations: 0.6254 MB / 1.271 GB, free: 1.691 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001876/1.075, allocations: 0.8624 MB / 1.272 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/1.075, allocations: 0 / 1.272 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009809/1.076, allocations: 0.5433 MB / 1.272 GB, free: 268 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/1.078, allocations: 294.8 kB / 1.273 GB, free: 15.99 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/1.081, allocations: 1.795 MB / 1.274 GB, free: 14.17 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/1.082, allocations: 1.036 MB / 1.275 GB, free: 13.11 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007624/1.083, allocations: 266.9 kB / 1.276 GB, free: 12.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/1.083, allocations: 115.4 kB / 1.276 GB, free: 12.73 MB / 1.014 GB Notification: Performance of SimCode: time 5.01e-07/1.083, allocations: 0 / 1.276 GB, free: 12.73 MB / 1.014 GB Notification: Performance of Templates: time 0.02693/1.11, allocations: 15.4 MB / 1.291 GB, free: 13.5 MB / 1.029 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