Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001183/0.001183, allocations: 107.2 kB / 16.36 MB, free: 5.824 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.001375/0.001375, allocations: 193.1 kB / 17.29 MB, free: 5.48 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.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.465/2.465, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 75.12 kB / 0.8773 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.309, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006684/0.3157, allocations: 5.015 MB / 1.032 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.8043/1.12, allocations: 150.7 MB / 1.179 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/1.121, allocations: 15.34 kB / 1.179 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006553/1.122, allocations: 197.9 kB / 1.179 GB, free: 6.371 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002057/1.124, allocations: 0.5558 MB / 1.18 GB, free: 6.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00222/1.126, allocations: 0.8898 MB / 1.18 GB, free: 5.547 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001752/1.128, allocations: 1.474 MB / 1.182 GB, free: 4.633 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008906/1.129, allocations: 0.5965 MB / 1.182 GB, free: 4.273 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000773/1.13, allocations: 0.5113 MB / 1.183 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006527/1.13, allocations: 0.5397 MB / 1.183 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001583/1.13, allocations: 121.7 kB / 1.184 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009828/1.131, allocations: 0.5113 MB / 1.184 GB, free: 3.387 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002875/1.132, allocations: 308.7 kB / 1.184 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005321/1.132, allocations: 0.5892 MB / 1.185 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.001867/1.134, allocations: 1.719 MB / 1.187 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.134, allocations: 8.875 kB / 1.187 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.823e-06/1.134, allocations: 0 / 1.187 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.168e-05/1.134, allocations: 0 / 1.187 GB, free: 1.477 MB / 0.8887 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.003086/1.137, allocations: 1.493 MB / 1.188 GB, free: 312 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.137, allocations: 8.438 kB / 1.188 GB, free: 312 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001297/1.139, allocations: 189.7 kB / 1.188 GB, free: 220 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/1.14, allocations: 0.7908 MB / 1.189 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.376e-05/1.14, allocations: 66.53 kB / 1.189 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/1.14, allocations: 90.22 kB / 1.189 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/1.142, allocations: 0.9761 MB / 1.19 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/1.142, allocations: 0 / 1.19 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.297e-05/1.142, allocations: 41.56 kB / 1.19 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/1.142, allocations: 22 kB / 1.19 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/1.144, allocations: 1.164 MB / 1.191 GB, free: 14.29 MB / 0.9044 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.004308/1.148, allocations: 2.872 MB / 1.194 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001922/1.15, allocations: 0.9809 MB / 1.195 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/1.151, allocations: 326.1 kB / 1.195 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/1.151, allocations: 35.52 kB / 1.195 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008652/1.152, allocations: 0.5356 MB / 1.196 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=88): time 2.966e-06/1.152, allocations: 0 / 1.196 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88): time 0.003202/1.155, allocations: 1.303 MB / 1.197 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/1.155, allocations: 191.2 kB / 1.197 GB, free: 9.996 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008421/1.156, allocations: 0.6561 MB / 1.198 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.854e-05/1.156, allocations: 46.11 kB / 1.198 GB, free: 9.57 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002972/1.156, allocations: 404.7 kB / 1.199 GB, free: 9.215 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/1.157, allocations: 285.9 kB / 1.199 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/1.157, allocations: 179.4 kB / 1.199 GB, free: 8.859 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.157, allocations: 394.1 kB / 1.199 GB, free: 8.484 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005227/1.158, allocations: 288.3 kB / 1.2 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/1.158, allocations: 391.8 kB / 1.2 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/1.159, allocations: 0.649 MB / 1.201 GB, free: 7.781 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/1.159, allocations: 3.938 kB / 1.201 GB, free: 7.777 MB / 0.9044 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002054/1.161, allocations: 0.9249 MB / 1.202 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/1.161, allocations: 4.875 kB / 1.202 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/1.161, allocations: 0 / 1.202 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000557/1.162, allocations: 81.25 kB / 1.202 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006925/1.163, allocations: 179 kB / 1.202 GB, free: 7.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/1.165, allocations: 1.625 MB / 1.203 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008989/1.166, allocations: 109.4 kB / 1.203 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-05/1.166, allocations: 42.25 kB / 1.204 GB, free: 5.535 MB / 0.9044 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.0005173/1.166, allocations: 277.5 kB / 1.204 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/1.166, allocations: 92.89 kB / 1.204 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/1.169, allocations: 1.185 MB / 1.205 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.169, allocations: 16.7 kB / 1.205 GB, free: 4.605 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.169, allocations: 4 kB / 1.205 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/1.169, allocations: 7.922 kB / 1.205 GB, free: 4.594 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003423/1.172, allocations: 2.087 MB / 1.207 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.172, allocations: 6.5 kB / 1.207 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/1.173, allocations: 161.4 kB / 1.207 GB, free: 3.191 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00043/1.173, allocations: 74.48 kB / 1.207 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.167e-05/1.174, allocations: 34.12 kB / 1.207 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001923/1.176, allocations: 1.659 MB / 1.209 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.176, allocations: 0 / 1.209 GB, free: 1.52 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/1.178, allocations: 1.091 MB / 1.21 GB, free: 0.8281 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00055/1.178, allocations: 287.6 kB / 1.21 GB, free: 0.5273 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/1.178, allocations: 20 kB / 1.21 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000679/1.179, allocations: 75.92 kB / 1.21 GB, free: 444 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/1.179, allocations: 84.81 kB / 1.21 GB, free: 360 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.145e-05/1.179, allocations: 47.91 kB / 1.211 GB, free: 312 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006858/1.18, allocations: 467 kB / 1.211 GB, free: 15.85 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.643e-06/1.18, allocations: 0 / 1.211 GB, free: 15.85 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001084/1.181, allocations: 355.1 kB / 1.211 GB, free: 15.5 MB / 0.92 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.183, allocations: 0.623 MB / 1.212 GB, free: 15.06 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001825/1.185, allocations: 0.8986 MB / 1.213 GB, free: 14.15 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.185, allocations: 0 / 1.213 GB, free: 14.15 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009341/1.185, allocations: 0.5627 MB / 1.213 GB, free: 13.57 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/1.187, allocations: 313.7 kB / 1.214 GB, free: 13.29 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/1.19, allocations: 1.759 MB / 1.215 GB, free: 11.51 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005883/1.19, allocations: 1.04 MB / 1.216 GB, free: 10.44 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007922/1.191, allocations: 271.2 kB / 1.217 GB, free: 10.17 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/1.191, allocations: 123.3 kB / 1.217 GB, free: 10.05 MB / 0.92 GB Notification: Performance of SimCode: time 4.71e-07/1.191, allocations: 0 / 1.217 GB, free: 10.05 MB / 0.92 GB Notification: Performance of Templates: time 0.02622/1.218, allocations: 16.1 MB / 1.232 GB, free: 10.12 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches