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.001158/0.001158, allocations: 111.1 kB / 16.41 MB, free: 6.488 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.001082/0.001082, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.347/1.347, allocations: 222.9 MB / 241 MB, free: 15.16 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.203/2.203, allocations: 390.2 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8414/0.8427, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00595/0.8487, allocations: 4.508 MB / 1.093 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1896/1.038, allocations: 150.7 MB / 1.24 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/1.04, allocations: 15.66 kB / 1.24 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009062/1.041, allocations: 181 kB / 1.24 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002676/1.043, allocations: 0.5346 MB / 1.241 GB, free: 184 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002809/1.046, allocations: 0.8786 MB / 1.242 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002122/1.048, allocations: 1.391 MB / 1.243 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001226/1.05, allocations: 0.6348 MB / 1.244 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/1.051, allocations: 0.507 MB / 1.244 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009961/1.052, allocations: 0.5231 MB / 1.245 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003824/1.052, allocations: 121.3 kB / 1.245 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001453/1.053, allocations: 0.512 MB / 1.245 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004119/1.054, allocations: 311 kB / 1.246 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0009056/1.055, allocations: 0.5674 MB / 1.246 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/1.057, allocations: 1.7 MB / 1.248 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/1.057, allocations: 0 / 1.248 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.943e-06/1.057, allocations: 0 / 1.248 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.711e-05/1.057, allocations: 0 / 1.248 GB, free: 10.66 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.003133/1.061, allocations: 1.487 MB / 1.249 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/1.061, allocations: 8.031 kB / 1.249 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009263/1.062, allocations: 191.3 kB / 1.249 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/1.063, allocations: 0.7896 MB / 1.25 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/1.063, allocations: 66 kB / 1.25 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001216/1.063, allocations: 95.97 kB / 1.25 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/1.065, allocations: 0.973 MB / 1.251 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/1.065, allocations: 3.938 kB / 1.251 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.419e-05/1.065, allocations: 36 kB / 1.251 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.125e-05/1.065, allocations: 24 kB / 1.251 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001793/1.067, allocations: 1.159 MB / 1.253 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004129/1.071, allocations: 2.663 MB / 1.255 GB, free: 2.957 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/1.073, allocations: 0.981 MB / 1.256 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/1.073, allocations: 326.7 kB / 1.256 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.186e-05/1.073, allocations: 28.69 kB / 1.256 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009265/1.074, allocations: 0.5467 MB / 1.257 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=88): time 2.595e-06/1.074, allocations: 0 / 1.257 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=88): time 0.003218/1.078, allocations: 1.294 MB / 1.258 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.078, allocations: 192.9 kB / 1.258 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008541/1.079, allocations: 0.6528 MB / 1.259 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.061e-05/1.079, allocations: 41.7 kB / 1.259 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/1.079, allocations: 408.5 kB / 1.259 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/1.079, allocations: 287.8 kB / 1.26 GB, free: 14.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/1.079, allocations: 174.5 kB / 1.26 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.08, allocations: 394.7 kB / 1.26 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005631/1.08, allocations: 289.8 kB / 1.261 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006631/1.081, allocations: 387.1 kB / 1.261 GB, free: 12.85 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/1.082, allocations: 0.6554 MB / 1.262 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/1.082, allocations: 0 / 1.262 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002114/1.084, allocations: 0.9189 MB / 1.262 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/1.084, allocations: 4 kB / 1.262 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.084, allocations: 0 / 1.262 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005895/1.085, allocations: 80.83 kB / 1.263 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007207/1.086, allocations: 179.7 kB / 1.263 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/1.088, allocations: 1.638 MB / 1.264 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/1.089, allocations: 99.38 kB / 1.264 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.49e-05/1.089, allocations: 39.97 kB / 1.264 GB, free: 9.07 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.0005125/1.089, allocations: 279.9 kB / 1.265 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/1.089, allocations: 86.88 kB / 1.265 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/1.092, allocations: 1.191 MB / 1.266 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.092, allocations: 8 kB / 1.266 GB, free: 7.484 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.092, allocations: 4 kB / 1.266 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.092, allocations: 3.984 kB / 1.266 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003451/1.095, allocations: 2.107 MB / 1.268 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/1.095, allocations: 0 / 1.268 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006417/1.096, allocations: 163.8 kB / 1.268 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004374/1.096, allocations: 72.78 kB / 1.268 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/1.097, allocations: 31.98 kB / 1.268 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001879/1.098, allocations: 1.662 MB / 1.27 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.098, allocations: 4 kB / 1.27 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/1.101, allocations: 1.092 MB / 1.271 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/1.101, allocations: 287.6 kB / 1.271 GB, free: 1.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001351/1.101, allocations: 23.94 kB / 1.271 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000709/1.102, allocations: 71.92 kB / 1.271 GB, free: 1.727 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/1.102, allocations: 84.89 kB / 1.271 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.502e-05/1.102, allocations: 43.97 kB / 1.271 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005978/1.103, allocations: 471 kB / 1.272 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.5e-07/1.103, allocations: 0 / 1.272 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009727/1.104, allocations: 343.1 kB / 1.272 GB, free: 0.8086 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.001466/1.105, allocations: 0.6324 MB / 1.273 GB, free: 360 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001945/1.107, allocations: 0.8976 MB / 1.274 GB, free: 15.44 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.107, allocations: 4.062 kB / 1.274 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009704/1.108, allocations: 0.5665 MB / 1.274 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/1.11, allocations: 285.2 kB / 1.275 GB, free: 14.6 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004029/1.114, allocations: 1.886 MB / 1.276 GB, free: 12.68 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/1.114, allocations: 1.044 MB / 1.277 GB, free: 11.61 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/1.115, allocations: 131.4 kB / 1.278 GB, free: 11.48 MB / 1.014 GB Notification: Performance of SimCode: time 7.22e-07/1.115, allocations: 0 / 1.278 GB, free: 11.48 MB / 1.014 GB Notification: Performance of Templates: time 0.02568/1.14, allocations: 19.49 MB / 1.297 GB, free: 8.039 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/jenkins1/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