Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|solAzi.solAzi",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006471/0.006471, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.00158/0.00158, allocations: 190.6 kB / 16.67 MB, free: 5.93 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.188/2.188, allocations: 390.2 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 68.14 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.884/0.8851, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006127/0.8913, allocations: 4.502 MB / 1.092 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1935/1.085, allocations: 150.7 MB / 1.239 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001145/1.086, allocations: 16.31 kB / 1.239 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0006657/1.087, allocations: 183.7 kB / 1.24 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002085/1.089, allocations: 0.5318 MB / 1.24 GB, free: 192 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00248/1.091, allocations: 0.8673 MB / 1.241 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00171/1.093, allocations: 1.391 MB / 1.242 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000931/1.094, allocations: 0.6387 MB / 1.243 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007908/1.095, allocations: 0.5114 MB / 1.243 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/1.095, allocations: 0.523 MB / 1.244 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/1.096, allocations: 133.1 kB / 1.244 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001043/1.097, allocations: 0.4929 MB / 1.245 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002745/1.097, allocations: 315 kB / 1.245 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000489/1.097, allocations: 0.5751 MB / 1.245 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002094/1.1, allocations: 1.692 MB / 1.247 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/1.1, allocations: 4 kB / 1.247 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/1.1, allocations: 0 / 1.247 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.823e-05/1.1, allocations: 0 / 1.247 GB, free: 10.68 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.002595/1.102, allocations: 1.483 MB / 1.249 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/1.102, allocations: 16.02 kB / 1.249 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008997/1.103, allocations: 183.3 kB / 1.249 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/1.104, allocations: 0.7896 MB / 1.25 GB, free: 8.113 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/1.104, allocations: 73.94 kB / 1.25 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/1.104, allocations: 88 kB / 1.25 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001555/1.106, allocations: 0.9769 MB / 1.251 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/1.106, allocations: 0 / 1.251 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.133e-05/1.106, allocations: 36 kB / 1.251 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.838e-05/1.106, allocations: 27.98 kB / 1.251 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001831/1.108, allocations: 1.155 MB / 1.252 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0043/1.112, allocations: 2.671 MB / 1.254 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/1.114, allocations: 0.9849 MB / 1.255 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005601/1.115, allocations: 327.7 kB / 1.256 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.234e-05/1.115, allocations: 28.67 kB / 1.256 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009055/1.116, allocations: 0.5374 MB / 1.256 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.415e-06/1.116, allocations: 0 / 1.256 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003381/1.119, allocations: 1.294 MB / 1.258 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/1.12, allocations: 188.9 kB / 1.258 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/1.121, allocations: 0.6528 MB / 1.258 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.636e-05/1.121, allocations: 45.7 kB / 1.258 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004048/1.121, allocations: 404.5 kB / 1.259 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003184/1.121, allocations: 283.8 kB / 1.259 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003099/1.122, allocations: 178.5 kB / 1.259 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002787/1.122, allocations: 398.7 kB / 1.26 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/1.123, allocations: 285.8 kB / 1.26 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007115/1.123, allocations: 395 kB / 1.26 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/1.125, allocations: 0.6476 MB / 1.261 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.125, allocations: 7.938 kB / 1.261 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002115/1.127, allocations: 0.9151 MB / 1.262 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/1.127, allocations: 4 kB / 1.262 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/1.127, allocations: 3.984 kB / 1.262 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/1.127, allocations: 80.84 kB / 1.262 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007261/1.128, allocations: 179.7 kB / 1.262 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002253/1.13, allocations: 1.63 MB / 1.264 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008467/1.131, allocations: 103.4 kB / 1.264 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.39e-05/1.131, allocations: 43.89 kB / 1.264 GB, free: 9.09 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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 (104): * Single equations (assignments): 103 * 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.0005357/1.132, allocations: 271.9 kB / 1.264 GB, free: 8.812 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/1.132, allocations: 90.88 kB / 1.264 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002598/1.135, allocations: 1.191 MB / 1.265 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/1.135, allocations: 8 kB / 1.265 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/1.135, allocations: 0 / 1.265 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.347e-05/1.135, allocations: 7.969 kB / 1.265 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003487/1.138, allocations: 2.107 MB / 1.267 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.138, allocations: 0 / 1.267 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/1.139, allocations: 171.7 kB / 1.268 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004436/1.139, allocations: 76.78 kB / 1.268 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.755e-05/1.14, allocations: 27.97 kB / 1.268 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/1.141, allocations: 1.654 MB / 1.269 GB, free: 3.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.141, allocations: 4.062 kB / 1.269 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002183/1.144, allocations: 1.096 MB / 1.27 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000412/1.144, allocations: 287.6 kB / 1.271 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001181/1.144, allocations: 16 kB / 1.271 GB, free: 1.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006839/1.145, allocations: 75.92 kB / 1.271 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/1.145, allocations: 84.81 kB / 1.271 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.107e-05/1.145, allocations: 39.98 kB / 1.271 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005809/1.146, allocations: 471 kB / 1.271 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.146, allocations: 0 / 1.271 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009548/1.147, allocations: 347.1 kB / 1.272 GB, free: 0.832 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 (106): * Single equations (assignments): 99 * 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.001413/1.148, allocations: 0.6344 MB / 1.272 GB, free: 380 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001852/1.15, allocations: 0.8977 MB / 1.273 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/1.15, allocations: 0 / 1.273 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/1.151, allocations: 0.5704 MB / 1.274 GB, free: 14.88 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/1.152, allocations: 293.6 kB / 1.274 GB, free: 14.61 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003785/1.156, allocations: 1.85 MB / 1.276 GB, free: 12.73 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006079/1.157, allocations: 1.044 MB / 1.277 GB, free: 11.66 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007767/1.157, allocations: 279 kB / 1.277 GB, free: 11.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/1.158, allocations: 111.4 kB / 1.277 GB, free: 11.27 MB / 1.014 GB Notification: Performance of SimCode: time 4.91e-07/1.158, allocations: 0 / 1.277 GB, free: 11.27 MB / 1.014 GB Notification: Performance of Templates: time 0.02758/1.185, allocations: 15.91 MB / 1.293 GB, free: 11.53 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches