Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.005568/0.005568, allocations: 102.3 kB / 15.73 MB, free: 6.492 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.001344/0.001344, allocations: 199.3 kB / 16.68 MB, free: 6.371 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.704/2.704, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 68.11 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3431, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00683/0.3499, allocations: 5.022 MB / 1.225 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9511/1.301, allocations: 151.2 MB / 1.373 GB, free: 10.71 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009983/1.302, allocations: 19.94 kB / 1.373 GB, free: 10.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005975/1.303, allocations: 195.1 kB / 1.373 GB, free: 10.58 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/1.304, allocations: 0.5709 MB / 1.374 GB, free: 10.25 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001974/1.306, allocations: 0.8887 MB / 1.375 GB, free: 9.789 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001609/1.308, allocations: 1.459 MB / 1.376 GB, free: 9.047 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007119/1.309, allocations: 447.1 kB / 1.377 GB, free: 8.773 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007403/1.309, allocations: 0.5085 MB / 1.377 GB, free: 8.527 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006287/1.31, allocations: 0.5461 MB / 1.378 GB, free: 8.242 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001772/1.31, allocations: 121.8 kB / 1.378 GB, free: 8.242 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/1.311, allocations: 0.5011 MB / 1.378 GB, free: 8.117 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003105/1.312, allocations: 317.9 kB / 1.379 GB, free: 7.914 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0005163/1.312, allocations: 0.5882 MB / 1.379 GB, free: 7.523 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001968/1.314, allocations: 1.723 MB / 1.381 GB, free: 6.492 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/1.314, allocations: 0 / 1.381 GB, free: 6.492 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.272e-06/1.314, allocations: 3.75 kB / 1.381 GB, free: 6.492 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.184e-05/1.314, allocations: 3.938 kB / 1.381 GB, free: 6.488 MB / 1.076 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.002729/1.317, allocations: 1.532 MB / 1.382 GB, free: 5.277 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/1.317, allocations: 10.03 kB / 1.382 GB, free: 5.277 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009413/1.318, allocations: 199.2 kB / 1.382 GB, free: 5.18 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/1.319, allocations: 0.7975 MB / 1.383 GB, free: 4.523 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.507e-05/1.319, allocations: 71.23 kB / 1.383 GB, free: 4.488 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/1.319, allocations: 89.91 kB / 1.383 GB, free: 4.457 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/1.321, allocations: 0.9759 MB / 1.384 GB, free: 3.832 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/1.321, allocations: 1.125 kB / 1.384 GB, free: 3.832 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.082e-05/1.321, allocations: 40.66 kB / 1.384 GB, free: 3.801 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.895e-05/1.321, allocations: 21.53 kB / 1.384 GB, free: 3.801 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/1.323, allocations: 1.157 MB / 1.386 GB, free: 3.25 MB / 1.076 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.004467/1.327, allocations: 2.89 MB / 1.388 GB, free: 0.9492 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002102/1.33, allocations: 0.9329 MB / 1.389 GB, free: 428 kB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/1.33, allocations: 294.3 kB / 1.39 GB, free: 276 kB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.166e-05/1.33, allocations: 37.27 kB / 1.39 GB, free: 256 kB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009664/1.331, allocations: 0.5452 MB / 1.39 GB, free: 15.9 MB / 1.092 GB Notification: Performance of pre-optimization done (n=88): time 3.155e-06/1.331, allocations: 0 / 1.39 GB, free: 15.9 MB / 1.092 GB Notification: Performance of matching and sorting (n=88): time 0.003782/1.335, allocations: 1.294 MB / 1.391 GB, free: 15.2 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/1.335, allocations: 194.2 kB / 1.392 GB, free: 14.98 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009687/1.336, allocations: 0.6602 MB / 1.392 GB, free: 14.59 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 9.037e-05/1.336, allocations: 46.86 kB / 1.392 GB, free: 14.54 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/1.336, allocations: 409.8 kB / 1.393 GB, free: 14.18 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/1.337, allocations: 298.2 kB / 1.393 GB, free: 13.93 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000296/1.337, allocations: 185 kB / 1.393 GB, free: 13.81 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001707/1.337, allocations: 389.9 kB / 1.393 GB, free: 13.44 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006166/1.338, allocations: 286.9 kB / 1.394 GB, free: 13.3 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000699/1.338, allocations: 390.2 kB / 1.394 GB, free: 13.08 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/1.34, allocations: 0.6543 MB / 1.395 GB, free: 12.73 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/1.34, allocations: 0 / 1.395 GB, free: 12.73 MB / 1.092 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0022/1.342, allocations: 0.9122 MB / 1.396 GB, free: 12.27 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.342, allocations: 5.5 kB / 1.396 GB, free: 12.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.342, allocations: 9.047 kB / 1.396 GB, free: 12.26 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006589/1.343, allocations: 81.75 kB / 1.396 GB, free: 12.22 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008142/1.343, allocations: 179 kB / 1.396 GB, free: 12.18 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/1.346, allocations: 1.629 MB / 1.398 GB, free: 10.58 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/1.347, allocations: 111.1 kB / 1.398 GB, free: 10.51 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/1.347, allocations: 46.08 kB / 1.398 GB, free: 10.49 MB / 1.092 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.0005705/1.347, allocations: 274 kB / 1.398 GB, free: 10.28 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/1.348, allocations: 92.64 kB / 1.398 GB, free: 10.23 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/1.35, allocations: 1.197 MB / 1.399 GB, free: 9.566 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/1.35, allocations: 14.3 kB / 1.399 GB, free: 9.562 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/1.35, allocations: 0 / 1.399 GB, free: 9.562 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/1.35, allocations: 9.219 kB / 1.399 GB, free: 9.555 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/1.354, allocations: 2.091 MB / 1.401 GB, free: 8.184 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.354, allocations: 0 / 1.401 GB, free: 8.184 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/1.354, allocations: 167.2 kB / 1.401 GB, free: 8.145 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004507/1.355, allocations: 75.69 kB / 1.401 GB, free: 8.105 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.837e-05/1.355, allocations: 32.28 kB / 1.402 GB, free: 8.082 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/1.357, allocations: 1.654 MB / 1.403 GB, free: 6.473 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.357, allocations: 4.859 kB / 1.403 GB, free: 6.473 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002185/1.359, allocations: 1.095 MB / 1.404 GB, free: 5.859 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004325/1.359, allocations: 293.1 kB / 1.404 GB, free: 5.605 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/1.36, allocations: 22.66 kB / 1.405 GB, free: 5.59 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007343/1.36, allocations: 75.06 kB / 1.405 GB, free: 5.551 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001737/1.361, allocations: 81.53 kB / 1.405 GB, free: 5.508 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.656e-05/1.361, allocations: 35.36 kB / 1.405 GB, free: 5.5 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005878/1.361, allocations: 478.8 kB / 1.405 GB, free: 5.227 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.361, allocations: 2.688 kB / 1.405 GB, free: 5.227 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001012/1.362, allocations: 356.9 kB / 1.405 GB, free: 5.121 MB / 1.092 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.001434/1.364, allocations: 0.6194 MB / 1.406 GB, free: 4.824 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001725/1.365, allocations: 0.8728 MB / 1.407 GB, free: 4.367 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.365, allocations: 2.219 kB / 1.407 GB, free: 4.367 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0009146/1.366, allocations: 0.5236 MB / 1.407 GB, free: 4.066 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/1.368, allocations: 316.6 kB / 1.408 GB, free: 3.898 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/1.37, allocations: 1.783 MB / 1.41 GB, free: 2.832 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006921/1.371, allocations: 1.046 MB / 1.411 GB, free: 1.984 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007853/1.372, allocations: 269.3 kB / 1.411 GB, free: 1.789 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/1.372, allocations: 115.4 kB / 1.411 GB, free: 1.676 MB / 1.092 GB Notification: Performance of SimCode: time 6.71e-07/1.372, allocations: 0 / 1.411 GB, free: 1.676 MB / 1.092 GB Notification: Performance of Templates: time 0.02725/1.399, allocations: 16.36 MB / 1.427 GB, free: 1.492 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches