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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.007591/0.007591, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.001214/0.001214, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.887/2.887, allocations: 461.8 MB / 0.7348 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 59.91 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3426, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006398/0.349, allocations: 5.002 MB / 1.213 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.9483/1.297, allocations: 150.7 MB / 1.36 GB, free: 9.152 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/1.299, allocations: 23.94 kB / 1.36 GB, free: 9.141 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/1.3, allocations: 187.6 kB / 1.36 GB, free: 9.02 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002588/1.303, allocations: 0.5663 MB / 1.361 GB, free: 8.691 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/1.305, allocations: 0.8793 MB / 1.361 GB, free: 8.238 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002364/1.307, allocations: 1.469 MB / 1.363 GB, free: 7.484 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001367/1.309, allocations: 0.6042 MB / 1.363 GB, free: 7.168 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/1.31, allocations: 0.5116 MB / 1.364 GB, free: 6.918 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/1.312, allocations: 0.5435 MB / 1.364 GB, free: 6.633 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0005585/1.312, allocations: 125.7 kB / 1.365 GB, free: 6.629 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001738/1.314, allocations: 0.5003 MB / 1.365 GB, free: 6.512 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0005671/1.315, allocations: 310.4 kB / 1.365 GB, free: 6.316 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001438/1.316, allocations: 0.5924 MB / 1.366 GB, free: 5.922 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003484/1.32, allocations: 1.717 MB / 1.368 GB, free: 5.199 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/1.32, allocations: 1.25 kB / 1.368 GB, free: 5.199 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.643e-06/1.32, allocations: 0 / 1.368 GB, free: 5.199 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.246e-05/1.32, allocations: 0 / 1.368 GB, free: 5.199 MB / 1.061 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.004796/1.324, allocations: 1.501 MB / 1.369 GB, free: 4.191 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.325, allocations: 8.469 kB / 1.369 GB, free: 4.191 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/1.326, allocations: 185.1 kB / 1.369 GB, free: 4.133 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/1.327, allocations: 0.7934 MB / 1.37 GB, free: 3.617 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.258e-05/1.327, allocations: 75.09 kB / 1.37 GB, free: 3.582 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.327, allocations: 85.16 kB / 1.37 GB, free: 3.555 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/1.33, allocations: 0.9806 MB / 1.371 GB, free: 3.109 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/1.33, allocations: 0.875 kB / 1.371 GB, free: 3.109 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.33, allocations: 41.56 kB / 1.371 GB, free: 3.078 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/1.33, allocations: 21.19 kB / 1.371 GB, free: 3.078 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002245/1.332, allocations: 1.159 MB / 1.372 GB, free: 2.633 MB / 1.061 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.005322/1.337, allocations: 2.881 MB / 1.375 GB, free: 344 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/1.34, allocations: 0.9792 MB / 1.376 GB, free: 15.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006289/1.34, allocations: 326.3 kB / 1.376 GB, free: 15.63 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.966e-05/1.34, allocations: 32.39 kB / 1.376 GB, free: 15.62 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009669/1.341, allocations: 0.5378 MB / 1.377 GB, free: 15.27 MB / 1.076 GB Notification: Performance of pre-optimization done (n=88): time 2.966e-06/1.341, allocations: 0 / 1.377 GB, free: 15.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=88): time 0.003689/1.345, allocations: 1.294 MB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/1.345, allocations: 194.9 kB / 1.378 GB, free: 14.35 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/1.346, allocations: 0.6514 MB / 1.379 GB, free: 13.97 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.931e-05/1.346, allocations: 50.95 kB / 1.379 GB, free: 13.92 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/1.347, allocations: 409.4 kB / 1.38 GB, free: 13.56 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002814/1.347, allocations: 284.2 kB / 1.38 GB, free: 13.32 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/1.347, allocations: 188.9 kB / 1.38 GB, free: 13.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002024/1.348, allocations: 386.6 kB / 1.38 GB, free: 12.83 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006392/1.348, allocations: 293.2 kB / 1.381 GB, free: 12.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007843/1.349, allocations: 389.6 kB / 1.381 GB, free: 12.47 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/1.35, allocations: 0.6535 MB / 1.382 GB, free: 12.12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.35, allocations: 1.562 kB / 1.382 GB, free: 12.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002391/1.353, allocations: 0.9108 MB / 1.383 GB, free: 11.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/1.353, allocations: 4.719 kB / 1.383 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/1.353, allocations: 2.062 kB / 1.383 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/1.353, allocations: 85.12 kB / 1.383 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007389/1.354, allocations: 183.2 kB / 1.383 GB, free: 11.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/1.356, allocations: 1.627 MB / 1.384 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/1.358, allocations: 117.5 kB / 1.384 GB, free: 9.891 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.358, allocations: 40.41 kB / 1.385 GB, free: 9.875 MB / 1.076 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.0007302/1.358, allocations: 268.5 kB / 1.385 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/1.359, allocations: 93.58 kB / 1.385 GB, free: 9.617 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003131/1.362, allocations: 1.192 MB / 1.386 GB, free: 8.957 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/1.362, allocations: 10.75 kB / 1.386 GB, free: 8.957 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.362, allocations: 5.797 kB / 1.386 GB, free: 8.953 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/1.362, allocations: 3.984 kB / 1.386 GB, free: 8.949 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004387/1.366, allocations: 2.095 MB / 1.388 GB, free: 7.578 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/1.366, allocations: 0 / 1.388 GB, free: 7.578 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/1.367, allocations: 163.3 kB / 1.388 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004835/1.368, allocations: 75.09 kB / 1.388 GB, free: 7.504 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/1.368, allocations: 34.56 kB / 1.388 GB, free: 7.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001977/1.37, allocations: 1.658 MB / 1.39 GB, free: 5.867 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.37, allocations: 0 / 1.39 GB, free: 5.867 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002486/1.372, allocations: 1.094 MB / 1.391 GB, free: 5.258 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006579/1.373, allocations: 293 kB / 1.391 GB, free: 5.004 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/1.373, allocations: 20.28 kB / 1.391 GB, free: 4.988 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00072/1.374, allocations: 69.77 kB / 1.391 GB, free: 4.953 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/1.374, allocations: 82.72 kB / 1.391 GB, free: 4.91 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.454e-05/1.374, allocations: 44.47 kB / 1.392 GB, free: 4.895 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007496/1.375, allocations: 471.6 kB / 1.392 GB, free: 4.625 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/1.375, allocations: 0 / 1.392 GB, free: 4.625 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001505/1.376, allocations: 352.6 kB / 1.392 GB, free: 4.523 MB / 1.076 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.00179/1.378, allocations: 0.626 MB / 1.393 GB, free: 4.223 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00213/1.38, allocations: 0.8943 MB / 1.394 GB, free: 3.766 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.38, allocations: 0.9062 kB / 1.394 GB, free: 3.766 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009688/1.381, allocations: 0.5676 MB / 1.394 GB, free: 3.449 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/1.383, allocations: 308.7 kB / 1.395 GB, free: 3.297 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/1.386, allocations: 1.752 MB / 1.396 GB, free: 2.262 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/1.386, allocations: 1.045 MB / 1.397 GB, free: 1.414 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008771/1.387, allocations: 277.9 kB / 1.398 GB, free: 1.277 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/1.388, allocations: 115.6 kB / 1.398 GB, free: 1.238 MB / 1.076 GB Notification: Performance of SimCode: time 5.01e-07/1.388, allocations: 2.312 kB / 1.398 GB, free: 1.238 MB / 1.076 GB Notification: Performance of Templates: time 0.03061/1.418, allocations: 16.59 MB / 1.414 GB, free: 3.105 MB / 1.092 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 -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/jenkins/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