Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.007929/0.00793, allocations: 100.4 kB / 15.73 MB, free: 6.023 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.001841/0.001841, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.367/1.367, 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.0.1-master/package.mo): time 2.775/2.775, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 59.91 kB / 1.054 GB, free: 7.68 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3708, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.007676/0.3786, allocations: 4.787 MB / 1.212 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 1.06/1.439, allocations: 150.6 MB / 1.359 GB, free: 9.469 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/1.44, allocations: 15.66 kB / 1.359 GB, free: 9.465 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008229/1.441, allocations: 184.8 kB / 1.359 GB, free: 9.348 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002467/1.443, allocations: 0.5433 MB / 1.36 GB, free: 9.039 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.002724/1.446, allocations: 0.828 MB / 1.361 GB, free: 8.613 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002575/1.448, allocations: 1.37 MB / 1.362 GB, free: 7.902 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00111/1.45, allocations: 0.5709 MB / 1.362 GB, free: 7.605 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/1.451, allocations: 483.6 kB / 1.363 GB, free: 7.367 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/1.452, allocations: 0.4899 MB / 1.363 GB, free: 7.109 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002891/1.452, allocations: 113.1 kB / 1.363 GB, free: 7.109 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001454/1.454, allocations: 484.5 kB / 1.364 GB, free: 7 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004645/1.454, allocations: 294.8 kB / 1.364 GB, free: 6.812 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009447/1.455, allocations: 0.5455 MB / 1.365 GB, free: 6.449 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003615/1.459, allocations: 1.608 MB / 1.366 GB, free: 5.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.459, allocations: 1.25 kB / 1.366 GB, free: 5.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.005e-06/1.459, allocations: 0 / 1.366 GB, free: 5.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.185e-05/1.459, allocations: 0 / 1.366 GB, free: 5.77 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.005694/1.465, allocations: 1.417 MB / 1.368 GB, free: 4.805 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/1.465, allocations: 10.84 kB / 1.368 GB, free: 4.805 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004994/1.465, allocations: 136.4 kB / 1.368 GB, free: 4.711 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001743/1.467, allocations: 186.2 kB / 1.368 GB, free: 4.652 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00285/1.47, allocations: 0.7591 MB / 1.369 GB, free: 4.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001421/1.47, allocations: 61.66 kB / 1.369 GB, free: 4.133 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003189/1.47, allocations: 80.66 kB / 1.369 GB, free: 4.105 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003341/1.474, allocations: 0.8984 MB / 1.37 GB, free: 3.691 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/1.474, allocations: 4 kB / 1.37 GB, free: 3.688 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/1.474, allocations: 36.22 kB / 1.37 GB, free: 3.66 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.058e-05/1.474, allocations: 22.38 kB / 1.37 GB, free: 3.66 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003033/1.477, allocations: 1.097 MB / 1.371 GB, free: 3.406 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.008113/1.485, allocations: 2.653 MB / 1.373 GB, free: 1.289 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002708/1.488, allocations: 0.8684 MB / 1.374 GB, free: 0.7969 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008365/1.489, allocations: 298.6 kB / 1.375 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/1.489, allocations: 31.3 kB / 1.375 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/1.491, allocations: 497.2 kB / 1.375 GB, free: 324 kB / 1.061 GB Notification: Performance of pre-optimization done (n=79): time 7.254e-06/1.491, allocations: 0 / 1.375 GB, free: 324 kB / 1.061 GB Notification: Performance of matching and sorting (n=79): time 0.004971/1.496, allocations: 1.185 MB / 1.376 GB, free: 15.67 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/1.496, allocations: 189.1 kB / 1.376 GB, free: 15.45 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0018/1.498, allocations: 0.6171 MB / 1.377 GB, free: 15.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/1.498, allocations: 42.55 kB / 1.377 GB, free: 15.05 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004456/1.498, allocations: 391.5 kB / 1.377 GB, free: 14.7 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/1.498, allocations: 256.9 kB / 1.378 GB, free: 14.48 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/1.499, allocations: 147.2 kB / 1.378 GB, free: 14.39 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002576/1.499, allocations: 388.3 kB / 1.378 GB, free: 14.02 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005928/1.5, allocations: 240.8 kB / 1.378 GB, free: 13.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007164/1.5, allocations: 356.5 kB / 1.379 GB, free: 13.68 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/1.502, allocations: 0.5752 MB / 1.379 GB, free: 13.36 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.502, allocations: 0 / 1.379 GB, free: 13.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002305/1.504, allocations: 0.7923 MB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/1.504, allocations: 7.031 kB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/1.504, allocations: 1.625 kB / 1.38 GB, free: 12.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007061/1.505, allocations: 80.39 kB / 1.38 GB, free: 12.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008942/1.506, allocations: 150.7 kB / 1.38 GB, free: 12.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003018/1.509, allocations: 1.641 MB / 1.382 GB, free: 11.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/1.51, allocations: 89.22 kB / 1.382 GB, free: 11.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/1.51, allocations: 26.92 kB / 1.382 GB, free: 11.2 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: 15 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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.001009/1.511, allocations: 262 kB / 1.382 GB, free: 10.99 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005056/1.512, allocations: 86.2 kB / 1.382 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004108/1.516, allocations: 1.055 MB / 1.383 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.096e-05/1.516, allocations: 9.438 kB / 1.383 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.516, allocations: 0 / 1.383 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/1.516, allocations: 5.047 kB / 1.383 GB, free: 10.36 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006107/1.522, allocations: 1.919 MB / 1.385 GB, free: 9.074 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/1.522, allocations: 3.938 kB / 1.385 GB, free: 9.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008593/1.523, allocations: 145 kB / 1.385 GB, free: 9.035 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000618/1.524, allocations: 73.31 kB / 1.386 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/1.524, allocations: 20.92 kB / 1.386 GB, free: 8.984 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002817/1.527, allocations: 1.653 MB / 1.387 GB, free: 7.371 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/1.527, allocations: 3.938 kB / 1.387 GB, free: 7.367 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/1.53, allocations: 0.9743 MB / 1.388 GB, free: 6.816 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009462/1.531, allocations: 276 kB / 1.388 GB, free: 6.574 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003488/1.531, allocations: 21.45 kB / 1.388 GB, free: 6.559 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001205/1.533, allocations: 62.73 kB / 1.388 GB, free: 6.527 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/1.533, allocations: 73.83 kB / 1.389 GB, free: 6.488 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/1.533, allocations: 39.17 kB / 1.389 GB, free: 6.473 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001265/1.534, allocations: 454.3 kB / 1.389 GB, free: 6.215 MB / 1.076 GB Notification: Performance of sort global known variables: time 8.52e-07/1.534, allocations: 0 / 1.389 GB, free: 6.215 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001884/1.536, allocations: 313.9 kB / 1.389 GB, free: 6.125 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.005816/1.542, allocations: 2.033 MB / 1.391 GB, free: 4.84 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002504/1.545, allocations: 0.7845 MB / 1.392 GB, free: 4.43 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.545, allocations: 2.219 kB / 1.392 GB, free: 4.43 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/1.546, allocations: 0.5068 MB / 1.393 GB, free: 4.141 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/1.548, allocations: 299.2 kB / 1.393 GB, free: 3.992 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/1.561, allocations: 6.136 MB / 1.399 GB, free: 224 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008896/1.562, allocations: 1.021 MB / 1.4 GB, free: 15.38 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.00101/1.563, allocations: 263.5 kB / 1.4 GB, free: 15.25 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007068/1.564, allocations: 373.8 kB / 1.4 GB, free: 14.95 MB / 1.092 GB Notification: Performance of SimCode: time 9.82e-07/1.564, allocations: 0 / 1.4 GB, free: 14.95 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0898/1.654, allocations: 21.75 MB / 1.422 GB, free: 11.05 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/14.87, allocations: 448 / 1.422 GB, free: 11.05 MB / 1.107 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches