Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.006149/0.00615, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001211/0.001211, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 68.11 kB / 1.054 GB, free: 7.645 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.2818, allocations: 157.4 MB / 1.207 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005993/0.2878, allocations: 4.935 MB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7764/1.064, allocations: 150.6 MB / 1.359 GB, free: 9.289 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009351/1.065, allocations: 15.12 kB / 1.359 GB, free: 9.285 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000645/1.066, allocations: 194.8 kB / 1.359 GB, free: 9.16 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00181/1.068, allocations: 0.5523 MB / 1.36 GB, free: 8.844 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002/1.07, allocations: 0.8549 MB / 1.361 GB, free: 8.402 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001518/1.071, allocations: 1.433 MB / 1.362 GB, free: 7.664 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000843/1.072, allocations: 0.5878 MB / 1.363 GB, free: 7.355 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006852/1.073, allocations: 0.4964 MB / 1.363 GB, free: 7.113 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000571/1.073, allocations: 0.5253 MB / 1.364 GB, free: 6.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001485/1.074, allocations: 122.8 kB / 1.364 GB, free: 6.836 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009519/1.075, allocations: 486.3 kB / 1.364 GB, free: 6.727 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002966/1.075, allocations: 305.7 kB / 1.365 GB, free: 6.535 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0005036/1.075, allocations: 0.5823 MB / 1.365 GB, free: 6.145 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001646/1.077, allocations: 1.667 MB / 1.367 GB, free: 5.441 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.077, allocations: 1.219 kB / 1.367 GB, free: 5.441 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.242e-06/1.077, allocations: 0 / 1.367 GB, free: 5.441 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.432e-05/1.077, allocations: 0 / 1.367 GB, free: 5.441 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.002575/1.08, allocations: 1.475 MB / 1.368 GB, free: 4.445 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/1.08, allocations: 9.312 kB / 1.368 GB, free: 4.445 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001591/1.08, allocations: 138.2 kB / 1.368 GB, free: 4.352 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008873/1.081, allocations: 190.8 kB / 1.369 GB, free: 4.289 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/1.082, allocations: 0.7705 MB / 1.369 GB, free: 3.789 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/1.082, allocations: 69.06 kB / 1.369 GB, free: 3.758 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/1.082, allocations: 94 kB / 1.369 GB, free: 3.727 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/1.084, allocations: 0.9453 MB / 1.37 GB, free: 3.293 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/1.084, allocations: 0 / 1.37 GB, free: 3.293 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.65e-05/1.084, allocations: 33.31 kB / 1.37 GB, free: 3.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/1.084, allocations: 20.41 kB / 1.37 GB, free: 3.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001683/1.085, allocations: 1.13 MB / 1.372 GB, free: 2.953 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.003918/1.089, allocations: 2.734 MB / 1.374 GB, free: 0.7656 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/1.091, allocations: 0.9076 MB / 1.375 GB, free: 260 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005348/1.091, allocations: 322.1 kB / 1.375 GB, free: 88 kB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.235e-05/1.092, allocations: 35.83 kB / 1.375 GB, free: 68 kB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008665/1.092, allocations: 0.5088 MB / 1.376 GB, free: 15.74 MB / 1.076 GB Notification: Performance of pre-optimization done (n=85): time 2.014e-06/1.092, allocations: 7.938 kB / 1.376 GB, free: 15.73 MB / 1.076 GB Notification: Performance of matching and sorting (n=85): time 0.003348/1.096, allocations: 1.254 MB / 1.377 GB, free: 15.05 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.096, allocations: 194 kB / 1.377 GB, free: 14.83 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008412/1.097, allocations: 0.6427 MB / 1.378 GB, free: 14.46 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.419e-05/1.097, allocations: 47.67 kB / 1.378 GB, free: 14.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/1.097, allocations: 405.6 kB / 1.378 GB, free: 14.05 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/1.097, allocations: 266.1 kB / 1.379 GB, free: 13.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/1.098, allocations: 155 kB / 1.379 GB, free: 13.73 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.098, allocations: 389.6 kB / 1.379 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004972/1.098, allocations: 264.9 kB / 1.379 GB, free: 13.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006008/1.099, allocations: 374.5 kB / 1.38 GB, free: 12.99 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/1.1, allocations: 0.6156 MB / 1.38 GB, free: 12.65 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/1.1, allocations: 0 / 1.38 GB, free: 12.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00195/1.102, allocations: 0.8345 MB / 1.381 GB, free: 12.23 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/1.102, allocations: 9.516 kB / 1.381 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/1.102, allocations: 9.062 kB / 1.381 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005981/1.103, allocations: 78 kB / 1.381 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006551/1.103, allocations: 167.6 kB / 1.381 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/1.105, allocations: 1.625 MB / 1.383 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007399/1.106, allocations: 96.19 kB / 1.383 GB, free: 10.48 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/1.106, allocations: 32.48 kB / 1.383 GB, free: 10.47 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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 (93): * Single equations (assignments): 92 * 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.000437/1.107, allocations: 272.2 kB / 1.383 GB, free: 10.25 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/1.107, allocations: 88.16 kB / 1.384 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00241/1.109, allocations: 1.138 MB / 1.385 GB, free: 9.57 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/1.109, allocations: 17.48 kB / 1.385 GB, free: 9.562 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/1.109, allocations: 0.9375 kB / 1.385 GB, free: 9.562 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.109, allocations: 3.984 kB / 1.385 GB, free: 9.559 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00328/1.113, allocations: 2.025 MB / 1.387 GB, free: 8.23 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.113, allocations: 0 / 1.387 GB, free: 8.23 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/1.113, allocations: 150.9 kB / 1.387 GB, free: 8.199 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004345/1.114, allocations: 74.34 kB / 1.387 GB, free: 8.16 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.079e-05/1.114, allocations: 33.66 kB / 1.387 GB, free: 8.137 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/1.116, allocations: 1.664 MB / 1.389 GB, free: 6.516 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.116, allocations: 1.125 kB / 1.389 GB, free: 6.516 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/1.118, allocations: 1.061 MB / 1.39 GB, free: 5.918 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004469/1.118, allocations: 273.4 kB / 1.39 GB, free: 5.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/1.118, allocations: 21.69 kB / 1.39 GB, free: 5.664 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006829/1.119, allocations: 71.89 kB / 1.39 GB, free: 5.629 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/1.119, allocations: 77.02 kB / 1.39 GB, free: 5.59 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.478e-05/1.119, allocations: 41.28 kB / 1.39 GB, free: 5.574 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006004/1.12, allocations: 465.4 kB / 1.39 GB, free: 5.309 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.41e-07/1.12, allocations: 0 / 1.39 GB, free: 5.309 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009314/1.121, allocations: 328.7 kB / 1.391 GB, free: 5.215 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 (100): * Single equations (assignments): 93 * 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.003444/1.124, allocations: 2.103 MB / 1.393 GB, free: 3.902 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001672/1.126, allocations: 0.8392 MB / 1.394 GB, free: 3.461 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.126, allocations: 1.344 kB / 1.394 GB, free: 3.461 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008862/1.127, allocations: 0.5403 MB / 1.394 GB, free: 3.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/1.128, allocations: 306.3 kB / 1.394 GB, free: 3.008 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009139/1.137, allocations: 6.403 MB / 1.401 GB, free: 15.04 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005226/1.138, allocations: 1.032 MB / 1.402 GB, free: 14.2 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0007351/1.138, allocations: 270.9 kB / 1.402 GB, free: 14.07 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/1.139, allocations: 405.2 kB / 1.402 GB, free: 13.75 MB / 1.092 GB Notification: Performance of SimCode: time 7.12e-07/1.139, allocations: 3.938 kB / 1.402 GB, free: 13.74 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0499/1.189, allocations: 22.72 MB / 1.425 GB, free: 8.027 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/13.41, allocations: 22.61 kB / 1.425 GB, free: 8.008 MB / 1.107 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches