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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007825/0.007826, allocations: 100.7 kB / 15.73 MB, free: 6.469 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.00197/0.00197, allocations: 193.1 kB / 16.67 MB, free: 6.379 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.568/2.568, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 64.11 kB / 1.054 GB, free: 7.684 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2687, allocations: 157.4 MB / 1.207 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.00628/0.275, allocations: 5.013 MB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7205/0.9956, allocations: 150.7 MB / 1.359 GB, free: 9.207 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008367/0.9965, allocations: 19.75 kB / 1.359 GB, free: 9.199 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007382/0.9972, allocations: 197.8 kB / 1.36 GB, free: 9.07 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.9994, allocations: 0.5634 MB / 1.36 GB, free: 8.75 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002133/1.002, allocations: 0.8874 MB / 1.361 GB, free: 8.293 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001809/1.003, allocations: 1.467 MB / 1.362 GB, free: 7.543 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009464/1.004, allocations: 0.6009 MB / 1.363 GB, free: 7.227 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008222/1.005, allocations: 0.5163 MB / 1.363 GB, free: 6.973 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/1.006, allocations: 0.5392 MB / 1.364 GB, free: 6.691 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001672/1.006, allocations: 120.8 kB / 1.364 GB, free: 6.691 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009576/1.007, allocations: 0.5034 MB / 1.365 GB, free: 6.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002787/1.007, allocations: 316.9 kB / 1.365 GB, free: 6.371 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005208/1.008, allocations: 0.5872 MB / 1.365 GB, free: 5.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001792/1.01, allocations: 1.717 MB / 1.367 GB, free: 5.262 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/1.01, allocations: 4.875 kB / 1.367 GB, free: 5.262 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/1.01, allocations: 4 kB / 1.367 GB, free: 5.258 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.063e-05/1.01, allocations: 0 / 1.367 GB, free: 5.258 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.002717/1.012, allocations: 1.514 MB / 1.369 GB, free: 4.238 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/1.012, allocations: 10.16 kB / 1.369 GB, free: 4.238 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001692/1.013, allocations: 144.5 kB / 1.369 GB, free: 4.141 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009105/1.013, allocations: 197.8 kB / 1.369 GB, free: 4.07 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/1.015, allocations: 0.7808 MB / 1.37 GB, free: 3.566 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.824e-05/1.015, allocations: 67.84 kB / 1.37 GB, free: 3.539 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/1.015, allocations: 87.23 kB / 1.37 GB, free: 3.512 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/1.016, allocations: 0.9728 MB / 1.371 GB, free: 3.07 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/1.016, allocations: 1.344 kB / 1.371 GB, free: 3.07 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.144e-05/1.016, allocations: 42.25 kB / 1.371 GB, free: 3.039 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/1.016, allocations: 21.28 kB / 1.371 GB, free: 3.039 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/1.018, allocations: 1.161 MB / 1.372 GB, free: 2.621 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.004579/1.023, allocations: 2.885 MB / 1.375 GB, free: 328 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/1.025, allocations: 0.9807 MB / 1.376 GB, free: 15.78 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005695/1.025, allocations: 330 kB / 1.376 GB, free: 15.61 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/1.026, allocations: 35.31 kB / 1.376 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009428/1.026, allocations: 0.5347 MB / 1.377 GB, free: 15.25 MB / 1.076 GB Notification: Performance of pre-optimization done (n=88): time 3.366e-06/1.027, allocations: 0 / 1.377 GB, free: 15.25 MB / 1.076 GB Notification: Performance of matching and sorting (n=88): time 0.003479/1.03, allocations: 1.298 MB / 1.378 GB, free: 14.54 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.415e-05/1.03, allocations: 190.8 kB / 1.378 GB, free: 14.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008867/1.031, allocations: 0.6637 MB / 1.379 GB, free: 13.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-05/1.031, allocations: 43.11 kB / 1.379 GB, free: 13.89 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/1.031, allocations: 406.4 kB / 1.379 GB, free: 13.54 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/1.032, allocations: 283.7 kB / 1.379 GB, free: 13.29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002488/1.032, allocations: 158.5 kB / 1.38 GB, free: 13.2 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001715/1.032, allocations: 393.2 kB / 1.38 GB, free: 12.82 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005198/1.033, allocations: 264.8 kB / 1.38 GB, free: 12.69 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/1.033, allocations: 389.6 kB / 1.381 GB, free: 12.45 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/1.034, allocations: 0.6306 MB / 1.381 GB, free: 12.11 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/1.034, allocations: 0 / 1.381 GB, free: 12.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002016/1.036, allocations: 0.8722 MB / 1.382 GB, free: 11.66 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/1.036, allocations: 5.562 kB / 1.382 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/1.036, allocations: 1.188 kB / 1.382 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006011/1.037, allocations: 76.72 kB / 1.382 GB, free: 11.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/1.038, allocations: 171.2 kB / 1.382 GB, free: 11.59 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/1.04, allocations: 1.626 MB / 1.384 GB, free: 9.988 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008394/1.041, allocations: 112.6 kB / 1.384 GB, free: 9.914 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/1.041, allocations: 37.66 kB / 1.384 GB, free: 9.898 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: 19 (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 (96): * Single equations (assignments): 95 * 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.0004467/1.041, allocations: 264.2 kB / 1.384 GB, free: 9.695 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/1.041, allocations: 89.5 kB / 1.384 GB, free: 9.648 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/1.044, allocations: 1.196 MB / 1.386 GB, free: 8.984 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/1.044, allocations: 15.2 kB / 1.386 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/1.044, allocations: 0 / 1.386 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/1.044, allocations: 3.984 kB / 1.386 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003462/1.047, allocations: 2.099 MB / 1.388 GB, free: 7.605 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/1.047, allocations: 1.125 kB / 1.388 GB, free: 7.605 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006412/1.048, allocations: 162.7 kB / 1.388 GB, free: 7.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/1.048, allocations: 78.22 kB / 1.388 GB, free: 7.527 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.405e-05/1.049, allocations: 33.41 kB / 1.388 GB, free: 7.504 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/1.05, allocations: 1.658 MB / 1.39 GB, free: 5.891 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.05, allocations: 0 / 1.39 GB, free: 5.891 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/1.052, allocations: 1.098 MB / 1.391 GB, free: 5.277 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/1.053, allocations: 284 kB / 1.391 GB, free: 5.031 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/1.053, allocations: 22.89 kB / 1.391 GB, free: 5.016 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007/1.054, allocations: 74.42 kB / 1.391 GB, free: 4.977 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/1.054, allocations: 78.86 kB / 1.391 GB, free: 4.938 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/1.054, allocations: 47.56 kB / 1.391 GB, free: 4.918 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0005461/1.054, allocations: 468.1 kB / 1.392 GB, free: 4.652 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.054, allocations: 0 / 1.392 GB, free: 4.652 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000936/1.055, allocations: 351.5 kB / 1.392 GB, free: 4.551 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.003508/1.059, allocations: 2.174 MB / 1.394 GB, free: 3.199 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001658/1.061, allocations: 0.8678 MB / 1.395 GB, free: 2.746 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.061, allocations: 0 / 1.395 GB, free: 2.746 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008873/1.062, allocations: 0.5641 MB / 1.395 GB, free: 2.434 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/1.063, allocations: 307.2 kB / 1.396 GB, free: 2.281 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009599/1.072, allocations: 6.549 MB / 1.402 GB, free: 14.27 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/1.073, allocations: 1.053 MB / 1.403 GB, free: 13.41 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007984/1.074, allocations: 280.1 kB / 1.403 GB, free: 13.27 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005355/1.074, allocations: 415.9 kB / 1.404 GB, free: 12.94 MB / 1.092 GB Notification: Performance of SimCode: time 2.134e-06/1.074, allocations: 0 / 1.404 GB, free: 12.94 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04973/1.124, allocations: 23.4 MB / 1.427 GB, free: 5.949 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/13.25, allocations: 9.984 kB / 1.427 GB, free: 5.941 MB / 1.107 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarAzimuth.fmu > 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