Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.005402/0.005402, allocations: 102.7 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.001334/0.001334, allocations: 192.6 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7348 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 64.11 kB / 1.054 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2918, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.00652/0.2984, allocations: 4.972 MB / 1.212 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.7654/1.064, allocations: 150.8 MB / 1.359 GB, free: 9.223 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008658/1.065, allocations: 19.91 kB / 1.359 GB, free: 9.215 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007725/1.066, allocations: 199.1 kB / 1.36 GB, free: 9.086 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002166/1.068, allocations: 0.5698 MB / 1.36 GB, free: 8.758 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002215/1.07, allocations: 0.8443 MB / 1.361 GB, free: 8.324 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002052/1.072, allocations: 1.453 MB / 1.362 GB, free: 7.578 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/1.073, allocations: 0.5933 MB / 1.363 GB, free: 7.266 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/1.074, allocations: 0.5071 MB / 1.363 GB, free: 7.016 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009942/1.075, allocations: 0.5377 MB / 1.364 GB, free: 6.734 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003616/1.076, allocations: 121.3 kB / 1.364 GB, free: 6.734 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001242/1.077, allocations: 486.8 kB / 1.365 GB, free: 6.625 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000427/1.077, allocations: 320.1 kB / 1.365 GB, free: 6.422 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001026/1.078, allocations: 0.5813 MB / 1.365 GB, free: 6.035 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002718/1.081, allocations: 1.681 MB / 1.367 GB, free: 5.328 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/1.081, allocations: 0 / 1.367 GB, free: 5.328 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.633e-06/1.081, allocations: 0 / 1.367 GB, free: 5.328 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.31e-05/1.081, allocations: 0 / 1.367 GB, free: 5.328 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.00394/1.085, allocations: 1.483 MB / 1.369 GB, free: 4.328 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.085, allocations: 10.97 kB / 1.369 GB, free: 4.328 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002703/1.085, allocations: 147.7 kB / 1.369 GB, free: 4.227 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/1.087, allocations: 185.2 kB / 1.369 GB, free: 4.168 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/1.088, allocations: 0.7905 MB / 1.37 GB, free: 3.652 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.325e-05/1.088, allocations: 66.47 kB / 1.37 GB, free: 3.625 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/1.088, allocations: 86.27 kB / 1.37 GB, free: 3.598 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/1.09, allocations: 0.961 MB / 1.371 GB, free: 3.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/1.09, allocations: 5.156 kB / 1.371 GB, free: 3.156 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.893e-05/1.09, allocations: 37.69 kB / 1.371 GB, free: 3.129 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/1.09, allocations: 22.84 kB / 1.371 GB, free: 3.129 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/1.092, allocations: 1.158 MB / 1.372 GB, free: 2.754 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.004754/1.097, allocations: 2.858 MB / 1.375 GB, free: 480 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/1.099, allocations: 0.8481 MB / 1.376 GB, free: 48 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006143/1.099, allocations: 323.5 kB / 1.376 GB, free: 15.88 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.722e-05/1.099, allocations: 40.7 kB / 1.376 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009574/1.1, allocations: 0.5198 MB / 1.376 GB, free: 15.53 MB / 1.076 GB Notification: Performance of pre-optimization done (n=88): time 3.196e-06/1.1, allocations: 0 / 1.376 GB, free: 15.53 MB / 1.076 GB Notification: Performance of matching and sorting (n=88): time 0.003587/1.104, allocations: 1.301 MB / 1.378 GB, free: 14.82 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/1.104, allocations: 189.9 kB / 1.378 GB, free: 14.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009473/1.105, allocations: 0.6535 MB / 1.378 GB, free: 14.23 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/1.105, allocations: 46.89 kB / 1.379 GB, free: 14.18 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/1.106, allocations: 406.4 kB / 1.379 GB, free: 13.82 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/1.106, allocations: 286.5 kB / 1.379 GB, free: 13.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002538/1.106, allocations: 158.5 kB / 1.379 GB, free: 13.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001798/1.106, allocations: 393.5 kB / 1.38 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005477/1.107, allocations: 266.7 kB / 1.38 GB, free: 12.98 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/1.107, allocations: 396.9 kB / 1.38 GB, free: 12.73 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/1.109, allocations: 0.635 MB / 1.381 GB, free: 12.39 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/1.109, allocations: 2.5 kB / 1.381 GB, free: 12.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002119/1.111, allocations: 0.8618 MB / 1.382 GB, free: 11.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/1.111, allocations: 15.14 kB / 1.382 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/1.111, allocations: 1.125 kB / 1.382 GB, free: 11.94 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005867/1.111, allocations: 81.44 kB / 1.382 GB, free: 11.9 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007105/1.112, allocations: 167.7 kB / 1.382 GB, free: 11.86 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/1.114, allocations: 1.628 MB / 1.384 GB, free: 10.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009603/1.115, allocations: 96.91 kB / 1.384 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/1.115, allocations: 38.25 kB / 1.384 GB, free: 10.18 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: 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 (97): * Single equations (assignments): 96 * 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.000569/1.116, allocations: 272.1 kB / 1.384 GB, free: 9.969 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/1.116, allocations: 89.08 kB / 1.384 GB, free: 9.922 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002683/1.119, allocations: 1.175 MB / 1.385 GB, free: 9.262 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/1.119, allocations: 9 kB / 1.385 GB, free: 9.262 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.119, allocations: 1.406 kB / 1.385 GB, free: 9.262 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.119, allocations: 11.92 kB / 1.385 GB, free: 9.25 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/1.12, allocations: 0.9428 MB / 1.386 GB, free: 8.535 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/1.12, allocations: 1.344 kB / 1.386 GB, free: 8.535 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006322/1.121, allocations: 150.9 kB / 1.386 GB, free: 8.504 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/1.121, allocations: 73.75 kB / 1.386 GB, free: 8.465 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/1.122, allocations: 36.78 kB / 1.386 GB, free: 8.438 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001898/1.123, allocations: 1.65 MB / 1.388 GB, free: 6.832 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.123, allocations: 5.188 kB / 1.388 GB, free: 6.828 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/1.126, allocations: 0.9893 MB / 1.389 GB, free: 6.305 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006339/1.126, allocations: 286.6 kB / 1.389 GB, free: 6.055 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/1.127, allocations: 26.98 kB / 1.389 GB, free: 6.035 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000685/1.127, allocations: 71.95 kB / 1.389 GB, free: 5.996 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/1.127, allocations: 81.67 kB / 1.39 GB, free: 5.953 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.466e-05/1.128, allocations: 37.64 kB / 1.39 GB, free: 5.941 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006595/1.128, allocations: 480 kB / 1.39 GB, free: 5.672 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.4e-07/1.128, allocations: 1.062 kB / 1.39 GB, free: 5.672 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009585/1.129, allocations: 333.8 kB / 1.39 GB, free: 5.578 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.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.003488/1.133, allocations: 2.053 MB / 1.392 GB, free: 4.328 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001767/1.134, allocations: 0.8595 MB / 1.393 GB, free: 3.883 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/1.135, allocations: 3.938 kB / 1.393 GB, free: 3.879 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0009768/1.135, allocations: 0.5522 MB / 1.394 GB, free: 3.566 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/1.137, allocations: 303 kB / 1.394 GB, free: 3.414 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.147, allocations: 6.49 MB / 1.4 GB, free: 15.46 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/1.148, allocations: 1.047 MB / 1.401 GB, free: 14.61 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008435/1.148, allocations: 283.8 kB / 1.402 GB, free: 14.46 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/1.149, allocations: 406.6 kB / 1.402 GB, free: 14.14 MB / 1.092 GB Notification: Performance of SimCode: time 6.41e-07/1.149, allocations: 0 / 1.402 GB, free: 14.14 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05514/1.204, allocations: 23.2 MB / 1.425 GB, free: 8.105 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.29, allocations: 18.47 kB / 1.425 GB, free: 8.094 MB / 1.107 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches