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.001266/0.001266, allocations: 105.7 kB / 16.41 MB, free: 6.512 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.001266/0.001266, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.226/1.226, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.322/2.322, allocations: 461.9 MB / 0.7354 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 63.91 kB / 1.055 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6549/0.656, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005295/0.6613, allocations: 5.018 MB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1352/0.7965, allocations: 150.7 MB / 1.36 GB, free: 1.246 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007741/0.7974, allocations: 19.88 kB / 1.361 GB, free: 1.227 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.798, allocations: 198.2 kB / 1.361 GB, free: 1.031 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001785/0.7999, allocations: 0.5604 MB / 1.361 GB, free: 484 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001912/0.8018, allocations: 0.8867 MB / 1.362 GB, free: 15.59 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001535/0.8033, allocations: 1.471 MB / 1.364 GB, free: 14.11 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008602/0.8042, allocations: 0.5985 MB / 1.364 GB, free: 13.5 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007246/0.8049, allocations: 0.5255 MB / 1.365 GB, free: 12.97 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006998/0.8056, allocations: 0.5368 MB / 1.365 GB, free: 12.43 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.8058, allocations: 120 kB / 1.365 GB, free: 12.31 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008488/0.8067, allocations: 0.5034 MB / 1.366 GB, free: 11.81 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.8069, allocations: 311 kB / 1.366 GB, free: 11.5 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0004397/0.8074, allocations: 0.5869 MB / 1.367 GB, free: 10.91 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.8089, allocations: 1.727 MB / 1.368 GB, free: 9.184 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.8089, allocations: 0 / 1.368 GB, free: 9.184 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8089, allocations: 0 / 1.368 GB, free: 9.184 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.809, allocations: 0 / 1.368 GB, free: 9.184 MB / 1.092 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.002443/0.8114, allocations: 1.499 MB / 1.37 GB, free: 7.629 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.8114, allocations: 12.03 kB / 1.37 GB, free: 7.617 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008716/0.8123, allocations: 191.4 kB / 1.37 GB, free: 7.43 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009835/0.8133, allocations: 0.778 MB / 1.371 GB, free: 6.609 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/0.8134, allocations: 70 kB / 1.371 GB, free: 6.543 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.8135, allocations: 84 kB / 1.371 GB, free: 6.461 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.815, allocations: 0.9846 MB / 1.372 GB, free: 5.434 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.815, allocations: 0 / 1.372 GB, free: 5.434 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.038e-05/0.8151, allocations: 36 kB / 1.372 GB, free: 5.398 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.8151, allocations: 24 kB / 1.372 GB, free: 5.375 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.8168, allocations: 1.159 MB / 1.373 GB, free: 4.219 MB / 1.092 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.003794/0.8206, allocations: 2.887 MB / 1.376 GB, free: 1.215 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.8225, allocations: 0.9771 MB / 1.377 GB, free: 216 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005496/0.823, allocations: 330.7 kB / 1.377 GB, free: 15.88 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.142e-05/0.8231, allocations: 36.67 kB / 1.377 GB, free: 15.85 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008411/0.824, allocations: 0.5296 MB / 1.378 GB, free: 15.3 MB / 1.107 GB Notification: Performance of pre-optimization done (n=88): time 1.903e-06/0.824, allocations: 0 / 1.378 GB, free: 15.3 MB / 1.107 GB Notification: Performance of matching and sorting (n=88): time 0.003035/0.827, allocations: 1.298 MB / 1.379 GB, free: 13.98 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.8272, allocations: 200.9 kB / 1.379 GB, free: 13.74 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006823/0.8278, allocations: 0.6489 MB / 1.38 GB, free: 13.08 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/0.8279, allocations: 49.62 kB / 1.38 GB, free: 13.03 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.8282, allocations: 404.5 kB / 1.38 GB, free: 12.62 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.8284, allocations: 287.9 kB / 1.38 GB, free: 12.34 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002343/0.8286, allocations: 182.4 kB / 1.381 GB, free: 12.16 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8288, allocations: 386.8 kB / 1.381 GB, free: 11.77 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005241/0.8293, allocations: 301.8 kB / 1.381 GB, free: 11.47 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/0.8299, allocations: 387 kB / 1.382 GB, free: 11.08 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.831, allocations: 0.6516 MB / 1.382 GB, free: 10.42 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.831, allocations: 0 / 1.382 GB, free: 10.42 MB / 1.107 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001876/0.8329, allocations: 0.9152 MB / 1.383 GB, free: 9.492 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.8329, allocations: 4 kB / 1.383 GB, free: 9.488 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.8329, allocations: 8 kB / 1.383 GB, free: 9.48 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005451/0.8335, allocations: 84.83 kB / 1.383 GB, free: 9.395 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.8341, allocations: 171.7 kB / 1.383 GB, free: 9.227 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001822/0.836, allocations: 1.638 MB / 1.385 GB, free: 7.441 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007412/0.8367, allocations: 107.2 kB / 1.385 GB, free: 7.336 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.758e-05/0.8368, allocations: 44.03 kB / 1.385 GB, free: 7.293 MB / 1.107 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.0003529/0.8372, allocations: 272 kB / 1.385 GB, free: 7.02 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.8373, allocations: 86.95 kB / 1.386 GB, free: 6.934 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002339/0.8397, allocations: 1.191 MB / 1.387 GB, free: 5.727 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.8397, allocations: 16 kB / 1.387 GB, free: 5.711 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.8397, allocations: 0 / 1.387 GB, free: 5.711 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.8397, allocations: 3.984 kB / 1.387 GB, free: 5.707 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003002/0.8427, allocations: 2.095 MB / 1.389 GB, free: 3.555 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.8427, allocations: 4 kB / 1.389 GB, free: 3.551 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006076/0.8433, allocations: 167.8 kB / 1.389 GB, free: 3.387 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004139/0.8438, allocations: 72.8 kB / 1.389 GB, free: 3.312 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.8438, allocations: 31.91 kB / 1.389 GB, free: 3.281 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001693/0.8455, allocations: 1.658 MB / 1.391 GB, free: 1.48 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8455, allocations: 0 / 1.391 GB, free: 1.48 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/0.8475, allocations: 1.092 MB / 1.392 GB, free: 376 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/0.8478, allocations: 287.6 kB / 1.392 GB, free: 68 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.8479, allocations: 23.98 kB / 1.392 GB, free: 44 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007003/0.8486, allocations: 78.53 kB / 1.392 GB, free: 15.97 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.8488, allocations: 84.77 kB / 1.392 GB, free: 15.89 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/0.8489, allocations: 43.97 kB / 1.392 GB, free: 15.84 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0004912/0.8494, allocations: 467 kB / 1.393 GB, free: 15.39 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8494, allocations: 0 / 1.393 GB, free: 15.39 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000808/0.8502, allocations: 355.2 kB / 1.393 GB, free: 15.04 MB / 1.123 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.001244/0.8515, allocations: 0.6174 MB / 1.394 GB, free: 14.6 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.8531, allocations: 0.8976 MB / 1.394 GB, free: 13.69 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8531, allocations: 0 / 1.394 GB, free: 13.69 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0008883/0.854, allocations: 0.5668 MB / 1.395 GB, free: 13.11 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.8551, allocations: 307.5 kB / 1.395 GB, free: 12.83 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002586/0.8577, allocations: 1.779 MB / 1.397 GB, free: 11.02 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.8582, allocations: 1.048 MB / 1.398 GB, free: 9.938 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003019/0.8585, allocations: 139.3 kB / 1.398 GB, free: 9.805 MB / 1.123 GB Notification: Performance of SimCode: time 3.21e-07/0.8585, allocations: 0 / 1.398 GB, free: 9.805 MB / 1.123 GB Notification: Performance of Templates: time 0.02069/0.8792, allocations: 19.63 MB / 1.417 GB, free: 6.234 MB / 1.139 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/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