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.001403/0.001403, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001268/0.001268, allocations: 191 kB / 17.29 MB, free: 5.516 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.319/1.319, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.439/2.439, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 69.06 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2754, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006641/0.282, allocations: 5.029 MB / 1.032 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.6407/0.9228, allocations: 150.7 MB / 1.179 GB, free: 6.551 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009024/0.9237, allocations: 16.03 kB / 1.179 GB, free: 6.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000703/0.9244, allocations: 194.7 kB / 1.179 GB, free: 6.422 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.9266, allocations: 0.5648 MB / 1.18 GB, free: 6.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002265/0.9289, allocations: 0.8855 MB / 1.18 GB, free: 5.586 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001938/0.9308, allocations: 1.469 MB / 1.182 GB, free: 4.676 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009459/0.9318, allocations: 0.6007 MB / 1.182 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008838/0.9327, allocations: 0.5066 MB / 1.183 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006982/0.9334, allocations: 0.5437 MB / 1.183 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.9336, allocations: 122.4 kB / 1.184 GB, free: 3.625 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001086/0.9347, allocations: 0.5007 MB / 1.184 GB, free: 3.441 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003041/0.935, allocations: 324.4 kB / 1.184 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006222/0.9356, allocations: 0.585 MB / 1.185 GB, free: 2.754 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.9382, allocations: 1.719 MB / 1.187 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.9382, allocations: 0 / 1.187 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.287e-06/0.9382, allocations: 0 / 1.187 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.87e-05/0.9382, allocations: 0 / 1.187 GB, free: 1.523 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.003796/0.942, allocations: 1.497 MB / 1.188 GB, free: 356 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.9421, allocations: 13.09 kB / 1.188 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.9433, allocations: 190.9 kB / 1.188 GB, free: 260 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.9448, allocations: 0.7849 MB / 1.189 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.442e-05/0.9449, allocations: 67.22 kB / 1.189 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.945, allocations: 85.19 kB / 1.189 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.9468, allocations: 0.9836 MB / 1.19 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.9468, allocations: 0 / 1.19 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/0.9469, allocations: 40.56 kB / 1.19 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.9469, allocations: 20.62 kB / 1.19 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.9488, allocations: 1.157 MB / 1.191 GB, free: 14.34 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.004799/0.9536, allocations: 2.879 MB / 1.194 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.9557, allocations: 0.9869 MB / 1.195 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005746/0.9563, allocations: 325.7 kB / 1.195 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.833e-05/0.9564, allocations: 36.64 kB / 1.195 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009282/0.9573, allocations: 0.541 MB / 1.196 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=88): time 2.785e-06/0.9574, allocations: 7.562 kB / 1.196 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=88): time 0.003327/0.9607, allocations: 1.288 MB / 1.197 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/0.9608, allocations: 203 kB / 1.197 GB, free: 10.03 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007912/0.9616, allocations: 0.6537 MB / 1.198 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.844e-05/0.9617, allocations: 43.08 kB / 1.198 GB, free: 9.609 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.962, allocations: 406.7 kB / 1.199 GB, free: 9.254 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.9622, allocations: 283 kB / 1.199 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002705/0.9625, allocations: 178.4 kB / 1.199 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.9627, allocations: 388.2 kB / 1.199 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005421/0.9632, allocations: 295.7 kB / 1.2 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006482/0.9639, allocations: 386.2 kB / 1.2 GB, free: 8.168 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.9651, allocations: 0.6555 MB / 1.201 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.9651, allocations: 0 / 1.201 GB, free: 7.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002082/0.9672, allocations: 0.9176 MB / 1.202 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.9672, allocations: 10.06 kB / 1.202 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.9672, allocations: 0 / 1.202 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/0.9678, allocations: 86.3 kB / 1.202 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/0.9686, allocations: 174.1 kB / 1.202 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002212/0.9708, allocations: 1.635 MB / 1.203 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009698/0.9718, allocations: 103.9 kB / 1.203 GB, free: 5.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.9719, allocations: 41.75 kB / 1.204 GB, free: 5.574 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.0005746/0.9725, allocations: 271.9 kB / 1.204 GB, free: 5.363 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.9727, allocations: 91.38 kB / 1.204 GB, free: 5.312 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.9754, allocations: 1.194 MB / 1.205 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/0.9754, allocations: 12.91 kB / 1.205 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.9754, allocations: 0 / 1.205 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.9755, allocations: 3.984 kB / 1.205 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003766/0.9792, allocations: 2.1 MB / 1.207 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.9793, allocations: 0 / 1.207 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000651/0.9799, allocations: 166.1 kB / 1.207 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/0.9804, allocations: 77.56 kB / 1.207 GB, free: 3.188 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/0.9805, allocations: 27.7 kB / 1.207 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.9823, allocations: 1.656 MB / 1.209 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.9823, allocations: 0 / 1.209 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/0.9846, allocations: 1.095 MB / 1.21 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005958/0.9852, allocations: 283.7 kB / 1.21 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.9855, allocations: 23.98 kB / 1.21 GB, free: 0.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008099/0.9863, allocations: 75.92 kB / 1.21 GB, free: 480 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.9865, allocations: 76.89 kB / 1.21 GB, free: 404 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.369e-05/0.9866, allocations: 39.97 kB / 1.211 GB, free: 364 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0006754/0.9873, allocations: 475 kB / 1.211 GB, free: 15.89 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9873, allocations: 0 / 1.211 GB, free: 15.89 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001123/0.9884, allocations: 355.1 kB / 1.211 GB, free: 15.55 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.00151/0.9899, allocations: 0.6302 MB / 1.212 GB, free: 15.09 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001876/0.9918, allocations: 0.8986 MB / 1.213 GB, free: 14.18 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.9918, allocations: 4.062 kB / 1.213 GB, free: 14.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.9929, allocations: 0.5666 MB / 1.213 GB, free: 13.6 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001393/0.9943, allocations: 302.6 kB / 1.214 GB, free: 13.33 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.9976, allocations: 1.745 MB / 1.215 GB, free: 11.56 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/0.9983, allocations: 1.048 MB / 1.216 GB, free: 10.48 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0009013/0.9992, allocations: 275.2 kB / 1.217 GB, free: 10.21 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003368/0.9996, allocations: 119.4 kB / 1.217 GB, free: 10.09 MB / 0.92 GB Notification: Performance of SimCode: time 7.51e-07/0.9996, allocations: 4 kB / 1.217 GB, free: 10.09 MB / 0.92 GB Notification: Performance of Templates: time 0.02811/1.028, allocations: 16.11 MB / 1.232 GB, free: 10.16 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 gbode -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