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.007542/0.007542, allocations: 100.9 kB / 15.73 MB, free: 6.473 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.001947/0.001947, allocations: 195 kB / 16.67 MB, free: 6.379 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.425/2.425, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 63.38 kB / 0.9508 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2846, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006136/0.2907, allocations: 4.511 MB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1719/0.4627, allocations: 150.7 MB / 1.239 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009223/0.4636, allocations: 19.88 kB / 1.239 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000766/0.4644, allocations: 178.3 kB / 1.24 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.4667, allocations: 0.5243 MB / 1.24 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002615/0.4694, allocations: 0.8765 MB / 1.241 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.4713, allocations: 1.382 MB / 1.242 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.4724, allocations: 0.6454 MB / 1.243 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009904/0.4734, allocations: 0.4905 MB / 1.243 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009498/0.4744, allocations: 0.5289 MB / 1.244 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.4747, allocations: 123.9 kB / 1.244 GB, free: 0.9023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.4759, allocations: 0.4996 MB / 1.245 GB, free: 412 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003663/0.4763, allocations: 323 kB / 1.245 GB, free: 88 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009267/0.4772, allocations: 0.5675 MB / 1.245 GB, free: 15.51 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003084/0.4803, allocations: 1.701 MB / 1.247 GB, free: 13.81 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.4803, allocations: 0 / 1.247 GB, free: 13.81 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.695e-06/0.4803, allocations: 0 / 1.247 GB, free: 13.81 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.438e-05/0.4804, allocations: 0 / 1.247 GB, free: 13.81 MB / 1.014 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.004145/0.4846, allocations: 1.487 MB / 1.249 GB, free: 12.27 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.4846, allocations: 16.03 kB / 1.249 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.4859, allocations: 187.3 kB / 1.249 GB, free: 12.07 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001691/0.4876, allocations: 0.7819 MB / 1.25 GB, free: 11.24 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.134e-05/0.4877, allocations: 70 kB / 1.25 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.4878, allocations: 87.98 kB / 1.25 GB, free: 11.09 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.4898, allocations: 0.973 MB / 1.251 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.4899, allocations: 0 / 1.251 GB, free: 10.07 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/0.49, allocations: 40 kB / 1.251 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.49, allocations: 24 kB / 1.251 GB, free: 10.01 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.4921, allocations: 1.163 MB / 1.252 GB, free: 8.848 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004998/0.4972, allocations: 2.661 MB / 1.254 GB, free: 6.117 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002263/0.4994, allocations: 0.9849 MB / 1.255 GB, free: 5.113 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.5001, allocations: 326.7 kB / 1.256 GB, free: 4.793 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.877e-05/0.5002, allocations: 32.69 kB / 1.256 GB, free: 4.762 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.5012, allocations: 0.5295 MB / 1.256 GB, free: 4.211 MB / 1.014 GB Notification: Performance of pre-optimization done (n=88): time 2.955e-06/0.5012, allocations: 4 kB / 1.256 GB, free: 4.207 MB / 1.014 GB Notification: Performance of matching and sorting (n=88): time 0.003364/0.5046, allocations: 1.294 MB / 1.258 GB, free: 2.891 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.5047, allocations: 192.9 kB / 1.258 GB, free: 2.656 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009756/0.5057, allocations: 0.6605 MB / 1.258 GB, free: 1.992 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.461e-05/0.5058, allocations: 41.7 kB / 1.258 GB, free: 1.945 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003617/0.5062, allocations: 408.5 kB / 1.259 GB, free: 1.539 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.5064, allocations: 287.8 kB / 1.259 GB, free: 1.254 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.5067, allocations: 178.5 kB / 1.259 GB, free: 1.074 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5069, allocations: 390.7 kB / 1.26 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/0.5075, allocations: 289.8 kB / 1.26 GB, free: 412 kB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006825/0.5082, allocations: 391.1 kB / 1.26 GB, free: 0 / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6612/1.169, allocations: 0.6476 MB / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/1.169, allocations: 0 / 1.261 GB, free: 173.4 MB / 1.014 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002473/1.172, allocations: 0.9126 MB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/1.172, allocations: 9.875 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/1.172, allocations: 1.906 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006266/1.173, allocations: 80.66 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007958/1.173, allocations: 181.4 kB / 1.262 GB, free: 173.3 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/1.175, allocations: 1.625 MB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009545/1.176, allocations: 109.8 kB / 1.264 GB, free: 171.9 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/1.176, allocations: 41.62 kB / 1.264 GB, free: 171.9 MB / 1.014 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.000488/1.177, allocations: 286.6 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/1.177, allocations: 86.47 kB / 1.264 GB, free: 171.8 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/1.18, allocations: 1.181 MB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/1.18, allocations: 10.48 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/1.18, allocations: 4.719 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.627e-05/1.18, allocations: 9.094 kB / 1.265 GB, free: 171.5 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003811/1.184, allocations: 2.106 MB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.184, allocations: 5.094 kB / 1.267 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006696/1.185, allocations: 165.4 kB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/1.185, allocations: 76.55 kB / 1.268 GB, free: 170.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.118e-05/1.185, allocations: 26.77 kB / 1.268 GB, free: 170.5 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/1.187, allocations: 1.659 MB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.187, allocations: 0.7188 kB / 1.269 GB, free: 169 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002263/1.189, allocations: 1.095 MB / 1.27 GB, free: 168.5 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004149/1.189, allocations: 286 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/1.19, allocations: 27.52 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007406/1.19, allocations: 66.06 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/1.191, allocations: 84.08 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.803e-05/1.191, allocations: 41.41 kB / 1.271 GB, free: 168.3 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007128/1.191, allocations: 471 kB / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.191, allocations: 0 / 1.271 GB, free: 168.1 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001447/1.193, allocations: 338.8 kB / 1.272 GB, free: 168 MB / 1.014 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.001609/1.194, allocations: 0.6261 MB / 1.272 GB, free: 167.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.002397/1.197, allocations: 0.9028 MB / 1.273 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/1.197, allocations: 3.141 kB / 1.273 GB, free: 167.4 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/1.198, allocations: 0.5606 MB / 1.274 GB, free: 167.2 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001358/1.2, allocations: 302.1 kB / 1.274 GB, free: 167.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00397/1.204, allocations: 1.855 MB / 1.276 GB, free: 166.2 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/1.204, allocations: 1.048 MB / 1.277 GB, free: 165.5 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007959/1.205, allocations: 272.6 kB / 1.277 GB, free: 165.4 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/1.205, allocations: 118.4 kB / 1.277 GB, free: 165.4 MB / 1.014 GB Notification: Performance of SimCode: time 6.11e-07/1.205, allocations: 0 / 1.277 GB, free: 165.4 MB / 1.014 GB Notification: Performance of Templates: time 0.02921/1.234, allocations: 15.91 MB / 1.293 GB, free: 161.5 MB / 1.014 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