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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.005034/0.005034, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001299/0.001299, allocations: 190 kB / 16.67 MB, free: 5.934 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.562/2.562, allocations: 469.4 MB / 0.7422 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 72.08 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7205/0.7217, allocations: 159.1 MB / 1.22 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006566/0.7283, allocations: 4.788 MB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.1571/0.8855, allocations: 150.6 MB / 1.371 GB, free: 6.309 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000844/0.8863, allocations: 15.94 kB / 1.371 GB, free: 6.293 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0007657/0.8871, allocations: 182.3 kB / 1.372 GB, free: 6.113 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00203/0.8892, allocations: 0.543 MB / 1.372 GB, free: 5.57 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002115/0.8913, allocations: 0.8379 MB / 1.373 GB, free: 4.738 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.893, allocations: 1.37 MB / 1.374 GB, free: 3.363 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009791/0.894, allocations: 0.574 MB / 1.375 GB, free: 2.766 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007802/0.8948, allocations: 486.4 kB / 1.375 GB, free: 2.289 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007429/0.8955, allocations: 497.8 kB / 1.376 GB, free: 1.801 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002714/0.8958, allocations: 116 kB / 1.376 GB, free: 1.688 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.8968, allocations: 479.6 kB / 1.376 GB, free: 1.219 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003321/0.8972, allocations: 291.1 kB / 1.377 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.000636/0.8978, allocations: 0.5518 MB / 1.377 GB, free: 388 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002021/0.8999, allocations: 1.62 MB / 1.379 GB, free: 14.75 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.8999, allocations: 0 / 1.379 GB, free: 14.75 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8999, allocations: 0 / 1.379 GB, free: 14.75 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.748e-05/0.8999, allocations: 4 kB / 1.379 GB, free: 14.75 MB / 1.107 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.002938/0.9029, allocations: 1.45 MB / 1.38 GB, free: 13.25 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.9029, allocations: 8.625 kB / 1.38 GB, free: 13.24 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001824/0.9031, allocations: 131.3 kB / 1.38 GB, free: 13.1 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.9041, allocations: 196.1 kB / 1.381 GB, free: 12.91 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.9054, allocations: 0.7698 MB / 1.381 GB, free: 12.1 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.9055, allocations: 62 kB / 1.381 GB, free: 12.04 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.9056, allocations: 76 kB / 1.381 GB, free: 11.96 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.9072, allocations: 0.9028 MB / 1.382 GB, free: 11.02 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.9072, allocations: 0 / 1.382 GB, free: 11.02 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.76e-05/0.9073, allocations: 32 kB / 1.382 GB, free: 10.99 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.9073, allocations: 20 kB / 1.382 GB, free: 10.97 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.9092, allocations: 1.104 MB / 1.383 GB, free: 9.867 MB / 1.107 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.004111/0.9133, allocations: 2.666 MB / 1.386 GB, free: 7.086 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.9149, allocations: 0.86 MB / 1.387 GB, free: 6.207 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/0.9155, allocations: 302.7 kB / 1.387 GB, free: 5.906 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 7.801e-05/0.9156, allocations: 28.55 kB / 1.387 GB, free: 5.879 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008801/0.9165, allocations: 492.7 kB / 1.388 GB, free: 5.379 MB / 1.107 GB Notification: Performance of pre-optimization done (n=79): time 3.096e-06/0.9165, allocations: 7.938 kB / 1.388 GB, free: 5.371 MB / 1.107 GB Notification: Performance of matching and sorting (n=79): time 0.003325/0.9198, allocations: 1.186 MB / 1.389 GB, free: 4.16 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.9199, allocations: 196.6 kB / 1.389 GB, free: 3.926 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000824/0.9208, allocations: 0.6175 MB / 1.39 GB, free: 3.301 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.031e-05/0.9209, allocations: 41.7 kB / 1.39 GB, free: 3.254 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.9212, allocations: 397 kB / 1.39 GB, free: 2.859 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002161/0.9214, allocations: 265.7 kB / 1.39 GB, free: 2.598 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.9216, allocations: 146.6 kB / 1.39 GB, free: 2.449 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.9218, allocations: 386.7 kB / 1.391 GB, free: 2.062 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/0.9223, allocations: 245.9 kB / 1.391 GB, free: 1.82 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.923, allocations: 350.6 kB / 1.391 GB, free: 1.453 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.9241, allocations: 0.576 MB / 1.392 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9241, allocations: 0 / 1.392 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001927/0.926, allocations: 0.8023 MB / 1.393 GB, free: 56 kB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.9261, allocations: 4 kB / 1.393 GB, free: 52 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.9261, allocations: 0 / 1.393 GB, free: 52 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006126/0.9267, allocations: 84.86 kB / 1.393 GB, free: 15.96 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.9273, allocations: 147.8 kB / 1.393 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002149/0.9295, allocations: 1.635 MB / 1.395 GB, free: 14.04 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006797/0.9302, allocations: 90.11 kB / 1.395 GB, free: 13.95 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.9302, allocations: 31.97 kB / 1.395 GB, free: 13.92 MB / 1.123 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.0003568/0.9306, allocations: 269.7 kB / 1.395 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/0.9308, allocations: 87.44 kB / 1.395 GB, free: 13.56 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002349/0.9331, allocations: 1.046 MB / 1.396 GB, free: 12.5 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.9332, allocations: 8 kB / 1.396 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.9332, allocations: 4 kB / 1.396 GB, free: 12.49 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.9332, allocations: 7.922 kB / 1.396 GB, free: 12.48 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.9364, allocations: 1.916 MB / 1.398 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.9364, allocations: 0 / 1.398 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.937, allocations: 139.8 kB / 1.398 GB, free: 10.37 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004521/0.9374, allocations: 76.78 kB / 1.398 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.9375, allocations: 23.98 kB / 1.398 GB, free: 10.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001867/0.9394, allocations: 1.67 MB / 1.4 GB, free: 8.445 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.9394, allocations: 8 kB / 1.4 GB, free: 8.438 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/0.9414, allocations: 0.9867 MB / 1.401 GB, free: 7.438 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/0.9418, allocations: 268.2 kB / 1.401 GB, free: 7.156 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001345/0.942, allocations: 20 kB / 1.401 GB, free: 7.137 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007094/0.9427, allocations: 61.8 kB / 1.401 GB, free: 7.078 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001365/0.9428, allocations: 80.84 kB / 1.401 GB, free: 6.996 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-05/0.9429, allocations: 31.97 kB / 1.401 GB, free: 6.965 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0005433/0.9434, allocations: 455 kB / 1.402 GB, free: 6.523 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9435, allocations: 0 / 1.402 GB, free: 6.523 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0008379/0.9443, allocations: 315.2 kB / 1.402 GB, free: 6.215 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: 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.00355/0.9479, allocations: 2.043 MB / 1.404 GB, free: 4.324 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.9495, allocations: 0.7805 MB / 1.405 GB, free: 3.531 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.9495, allocations: 0 / 1.405 GB, free: 3.531 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009298/0.9504, allocations: 0.516 MB / 1.405 GB, free: 3.004 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.9518, allocations: 309.1 kB / 1.405 GB, free: 2.723 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00997/0.9617, allocations: 6.151 MB / 1.411 GB, free: 12.46 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/0.9623, allocations: 1.015 MB / 1.412 GB, free: 11.41 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0008011/0.9632, allocations: 266.5 kB / 1.413 GB, free: 11.15 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005503/0.9637, allocations: 383.3 kB / 1.413 GB, free: 10.77 MB / 1.139 GB Notification: Performance of SimCode: time 5.91e-07/0.9637, allocations: 3.938 kB / 1.413 GB, free: 10.77 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04945/1.013, allocations: 21.3 MB / 1.434 GB, free: 5.801 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.41, allocations: 5.125 kB / 1.434 GB, free: 5.797 MB / 1.154 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 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.csv","/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